Simple Filters: node selector doesn't accept Scalar Volume child nodes

Hi,

Is there any reasons why SimpleFilters I/O node selectors don’t accept volume nodes inherited from vtkMRMLScalarVolumeNode (child nodes)?

For example I just tried to set inputSelector.showChildNodeTypes = True and it works fine with my custom volume node, I wa able to calculate CosImageFilter

This was probably done because some subclasses wouldn’t work with SimpleITK. But since some would work and because this is sort of an advanced module anyway it might make sense to relax the requirement.

1 Like

Thank you, it would be good

You could submit a PR and then if anyone sees a downside they could comment there.

1 Like

Just in case the PR is ready