Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::NodePredicateBase Class Referenceabstract

Interface for evaluation conditions used in the DataStorage class GetSubset() method. More...

#include <mitkNodePredicateBase.h>

Inheritance diagram for mitk::NodePredicateBase:
Collaboration diagram for mitk::NodePredicateBase:

Public Types

typedef NodePredicateBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
 ~NodePredicateBase () override
 Standard Destructor. More...
 
virtual bool CheckNode (const mitk::DataNode *node) const =0
 This method will be used to evaluate the node. Has to be overwritten in subclasses. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 

Detailed Description

Interface for evaluation conditions used in the DataStorage class GetSubset() method.

Classes that inherit this interface can be used as predicates in the GetSubset() method of mitk::DataStorage. By combining different predicate objects, the user can form complex queries like "give me all nodes that either contain a surface object or a binary segmentation and that are tagged as Organtype == 'Liver'".

Warning
NodePredicates are now derived from itk::Object and make thus use of the smart pointer concept. As a result predicates should only store raw pointers because for one thing they are not owners of these objects and should not keep them alive.

Definition at line 35 of file mitkNodePredicateBase.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Definition at line 38 of file mitkNodePredicateBase.h.

Constructor & Destructor Documentation

◆ ~NodePredicateBase()

mitk::NodePredicateBase::~NodePredicateBase ( )
override

Standard Destructor.

Member Function Documentation

◆ CheckNode()

◆ GetClassHierarchy()

◆ GetClassName()

◆ GetStaticNameOfClass()

static const char* mitk::NodePredicateBase::GetStaticNameOfClass ( )
inlinestatic

Definition at line 38 of file mitkNodePredicateBase.h.


The documentation for this class was generated from the following file: