33 throw std::invalid_argument(
"NodePredicateData: invalid node");
35 return (node->
GetData() == m_DataObject);
Base of all data objects.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
virtual bool CheckNode(const mitk::DataNode *node) const override
Checks, if the nodes data object is of a specific data type.
NodePredicateData(mitk::BaseData *d)
Protected constructor, use static instantiation functions instead.
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
mitk::BaseData * m_DataObject
Class for nodes of the DataTree.
virtual ~NodePredicateData()
Standard Destructor.