Header file remained the same.
Description
Description
Event Timeline
Comment Actions
This predicate can be used to check, if a node is a parent to a given node. It can be computationally quite expensive for a large DataStorage.
The same set of nodes can be retrieved by calling the GetSources() method. This will use an optimized method that is less computationally expensive.
Still, having a predicate allows for more complex composite predicates that can not all be emulated with GetSources(). I suggest to add it to MITK, but to add a warning to the documentation, that it might affect performance.
Comment Actions
[SVN revision 29010]
FIX (#5505): implemented mitkNodePredicateSource::CheckNode() and added unit test mitk::NodePredicateSourceTest