Medical Imaging Interaction Toolkit  2016.11.0
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
 
virtual ~NodePredicateBase ()
 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 39 of file mitkNodePredicateBase.h.

Member Typedef Documentation

Definition at line 42 of file mitkNodePredicateBase.h.

Constructor & Destructor Documentation

mitk::NodePredicateBase::~NodePredicateBase ( )
virtual

Standard Destructor.

Definition at line 19 of file mitkNodePredicateBase.cpp.

Member Function Documentation

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

Definition at line 42 of file mitkNodePredicateBase.h.


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