keri
(kerim khemraev)
March 17, 2022, 10:45pm
1
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
pieper
(Steve Pieper (Isomics, Inc.))
March 18, 2022, 12:55pm
2
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
keri
(kerim khemraev)
March 18, 2022, 1:04pm
3
Thank you, it would be good
pieper
(Steve Pieper (Isomics, Inc.))
March 18, 2022, 1:10pm
4
You could submit a PR and then if anyone sees a downside they could comment there.
1 Like
keri
(kerim khemraev)
March 18, 2022, 2:41pm
5
Just in case the PR is ready