Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkNodePredicateDataProperty.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkNodePredicateDataProperty_h
14 #define mitkNodePredicateDataProperty_h
15 
16 #include "mitkBaseProperty.h"
17 #include "mitkNodePredicateBase.h"
18 
19 namespace mitk
20 {
25  {
26  public:
30 
31  //##Documentation
32  //## @brief Standard Destructor
33  ~NodePredicateDataProperty() override;
34 
35  //##Documentation
36  //## @brief Checks, if the nodes contains a property that is equal to m_ValidProperty
37  bool CheckNode(const mitk::DataNode *node) const override;
38 
39  protected:
40  //##Documentation
41  //## @brief Constructor to check for a named property
42  NodePredicateDataProperty(const char *propertyName,
43  mitk::BaseProperty *p = nullptr);
44 
46  // mitk::BaseProperty* m_ValidProperty;
47  std::string m_ValidPropertyName;
48  };
49 
50 } // namespace mitk
51 
52 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:36
mitkNewMacro2Param
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:81
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
itk::SmartPointer< Self >
mitk::NodePredicateBase
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Definition: mitkNodePredicateBase.h:35
mitkNodePredicateBase.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NodePredicateDataProperty::m_ValidPropertyName
std::string m_ValidPropertyName
Definition: mitkNodePredicateDataProperty.h:47
mitk::NodePredicateDataProperty::m_ValidProperty
mitk::BaseProperty::Pointer m_ValidProperty
Definition: mitkNodePredicateDataProperty.h:45
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::NodePredicateDataProperty
Predicate that evaluates if the data of a given DataNode has a specific property. If the second param...
Definition: mitkNodePredicateDataProperty.h:24
mitkBaseProperty.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63