19 :
NodePredicateBase(), m_ValidProperty(p), m_ValidPropertyName(propertyName), m_Renderer(renderer)
30 throw std::invalid_argument(
"NodePredicateProperty: invalid node");
33 throw std::invalid_argument(
"NodePredicateProperty: invalid property name");
mitk::BaseProperty * GetProperty(const char *propertyKey, const mitk::BaseRenderer *renderer=nullptr, bool fallBackOnDataProperties=true) const
Get the property (instance of BaseProperty) with key propertyKey from the PropertyList of the rendere...
mitk::BaseProperty::Pointer m_ValidProperty
Organizes the rendering process.
std::string m_ValidPropertyName
const mitk::BaseRenderer * m_Renderer
Abstract base class for properties.
bool CheckNode(const mitk::DataNode *node) const override
Checks, if the nodes contains a property that is equal to m_ValidProperty.
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
~NodePredicateProperty() override
Standard Destructor.
NodePredicateProperty(const char *propertyName, mitk::BaseProperty *p=nullptr, const mitk::BaseRenderer *renderer=nullptr)
Constructor to check for a named property.
Class for nodes of the DataTree.