ENH: added support for ScalarVolume inheritant#24
Conversation
|
@lassoan thank you for feedback
Can we simply add checkbox enabling/disabling ScalarVolume inheritants and add a tooltip with the description? Or if this concerns only me then I could fork the repo and build it SlicerCAT using it. I have some tool that helps me to do such things without breaking Superbuild so it should be doable. |
|
You can just add a module variable that lists all additional volume node classes that will be added to volume node selectors. |
|
the problem is that I don't know how to acces this variable member from another module. |
|
You can do something like this: |
It is now possible to add custom volume types to node selectors: `slicer.modules.SimpleFiltersInstance.scalarVolumeNodeClasses=['...']`
2802284 to
8fec8bd
Compare
|
@lassoan thank you, that works! |
|
@jcfr please review |
jcfr
left a comment
There was a problem hiding this comment.
After reading the associated post, should the following attribute be set ?
inputSelector.showChildNodeTypes = True

Before that it was impossible to choose ScalarVolume derived as IO node.
There was a discoussion on that