|
Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNode has a specific property. If the second parameter is nullptr, it will only be checked whether there is a property with the specified name. If a renderer is specified in the third parameter the renderer-specific property will be checked. If this parameter is nullptr or not specified, then the non-renderer-specific property will be checked. More...
#include <mitkNodePredicateProperty.h>


Public Member Functions | |
| mitkClassMacro (NodePredicateProperty, NodePredicateBase) | |
| mitkNewMacro1Param (NodePredicateProperty, const char *) | |
| mitkNewMacro2Param (NodePredicateProperty, const char *, mitk::BaseProperty *) | |
| mitkNewMacro3Param (NodePredicateProperty, const char *, mitk::BaseProperty *, const mitk::BaseRenderer *) | |
| ~NodePredicateProperty () override | |
| Standard Destructor. More... | |
| bool | CheckNode (const mitk::DataNode *node) const override |
| Checks, if the nodes contains a property that is equal to m_ValidProperty. More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
| mitkClassMacroItkParent (NodePredicateBase, itk::Object) | |
| ~NodePredicateBase () override | |
| Standard Destructor. More... | |
Protected Member Functions | |
| NodePredicateProperty (const char *propertyName, mitk::BaseProperty *p=nullptr, const mitk::BaseRenderer *renderer=nullptr) | |
| Constructor to check for a named property. More... | |
Protected Attributes | |
| mitk::BaseProperty::Pointer | m_ValidProperty |
| std::string | m_ValidPropertyName |
| const mitk::BaseRenderer * | m_Renderer |
Predicate that evaluates if the given DataNode has a specific property. If the second parameter is nullptr, it will only be checked whether there is a property with the specified name. If a renderer is specified in the third parameter the renderer-specific property will be checked. If this parameter is nullptr or not specified, then the non-renderer-specific property will be checked.
Definition at line 31 of file mitkNodePredicateProperty.h.
|
override |
Standard Destructor.
|
protected |
Constructor to check for a named property.
|
overridevirtual |
Checks, if the nodes contains a property that is equal to m_ValidProperty.
Implements mitk::NodePredicateBase.
| mitk::NodePredicateProperty::mitkClassMacro | ( | NodePredicateProperty | , |
| NodePredicateBase | |||
| ) |
| mitk::NodePredicateProperty::mitkNewMacro1Param | ( | NodePredicateProperty | , |
| const char * | |||
| ) |
| mitk::NodePredicateProperty::mitkNewMacro2Param | ( | NodePredicateProperty | , |
| const char * | , | ||
| mitk::BaseProperty * | |||
| ) |
| mitk::NodePredicateProperty::mitkNewMacro3Param | ( | NodePredicateProperty | , |
| const char * | , | ||
| mitk::BaseProperty * | , | ||
| const mitk::BaseRenderer * | |||
| ) |
|
protected |
Definition at line 57 of file mitkNodePredicateProperty.h.
|
protected |
Definition at line 54 of file mitkNodePredicateProperty.h.
|
protected |
Definition at line 56 of file mitkNodePredicateProperty.h.