Medical Imaging Interaction Toolkit  2024.06.99-5ec2019b
Medical Imaging Interaction Toolkit
mitk::NodePredicateDimension Class Reference

Predicate that evaluates if the given DataNodes data object has the specified dimension, for datasets where dimension is applicable. More...

#include <mitkNodePredicateDimension.h>

Inheritance diagram for mitk::NodePredicateDimension:
Collaboration diagram for mitk::NodePredicateDimension:

Public Types

typedef NodePredicateDimension Self
 
typedef NodePredicateBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::NodePredicateBase
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 override
 
virtual const char * GetClassName () const
 
 ~NodePredicateDimension () override
 Standard Destructor. More...
 
bool CheckNode (const mitk::DataNode *node) const override
 Checks if the nodes data object is of the specified dimension. More...
 
- Public Member Functions inherited from mitk::NodePredicateBase
 ~NodePredicateBase () override
 Standard Destructor. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New (unsigned int _arg)
 
static Pointer New (unsigned int _arga, int _argb)
 
- Static Public Member Functions inherited from mitk::NodePredicateBase
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 NodePredicateDimension (unsigned int dimension)
 Standard Constructor. More...
 
 NodePredicateDimension (unsigned int dimension, int pixelComponents)
 Standard Constructor. More...
 

Protected Attributes

unsigned int m_Dimension
 
std::size_t m_PixelComponents
 

Detailed Description

Predicate that evaluates if the given DataNodes data object has the specified dimension, for datasets where dimension is applicable.

Evaluates to "false" for unsupported datasets.

Definition at line 29 of file mitkNodePredicateDimension.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateDimension()

mitk::NodePredicateDimension::~NodePredicateDimension ( )
override

Standard Destructor.

◆ NodePredicateDimension() [1/2]

mitk::NodePredicateDimension::NodePredicateDimension ( unsigned int  dimension)
protected

Standard Constructor.

◆ NodePredicateDimension() [2/2]

mitk::NodePredicateDimension::NodePredicateDimension ( unsigned int  dimension,
int  pixelComponents 
)
protected

Standard Constructor.

Member Function Documentation

◆ CheckNode()

bool mitk::NodePredicateDimension::CheckNode ( const mitk::DataNode node) const
overridevirtual

Checks if the nodes data object is of the specified dimension.

Implements mitk::NodePredicateBase.

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::NodePredicateDimension::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::NodePredicateBase.

Definition at line 32 of file mitkNodePredicateDimension.h.

◆ GetClassName()

virtual const char* mitk::NodePredicateDimension::GetClassName ( ) const
virtual

Reimplemented from mitk::NodePredicateBase.

◆ GetStaticNameOfClass()

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

Definition at line 32 of file mitkNodePredicateDimension.h.

◆ New() [1/2]

static Pointer mitk::NodePredicateDimension::New ( unsigned int  _arg)
inlinestatic

Definition at line 33 of file mitkNodePredicateDimension.h.

◆ New() [2/2]

static Pointer mitk::NodePredicateDimension::New ( unsigned int  _arga,
int  _argb 
)
inlinestatic

Definition at line 34 of file mitkNodePredicateDimension.h.

Member Data Documentation

◆ m_Dimension

unsigned int mitk::NodePredicateDimension::m_Dimension
protected

Definition at line 53 of file mitkNodePredicateDimension.h.

◆ m_PixelComponents

std::size_t mitk::NodePredicateDimension::m_PixelComponents
protected

Definition at line 54 of file mitkNodePredicateDimension.h.


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