Medical Imaging Interaction Toolkit  2016.11.0
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
 
virtual ~NodePredicateDimension ()
 Standard Destructor. More...
 
virtual 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
virtual ~NodePredicateBase ()
 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::vcl_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 33 of file mitkNodePredicateDimension.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::NodePredicateDimension::~NodePredicateDimension ( )
virtual

Standard Destructor.

Definition at line 31 of file mitkNodePredicateDimension.cpp.

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

Standard Constructor.

Definition at line 26 of file mitkNodePredicateDimension.cpp.

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

Standard Constructor.

Definition at line 21 of file mitkNodePredicateDimension.cpp.

Member Function Documentation

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

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

Implements mitk::NodePredicateBase.

Definition at line 35 of file mitkNodePredicateDimension.cpp.

References mitk::DataNode::GetData(), mitk::Image::GetDimension(), mitk::PixelType::GetNumberOfComponents(), and mitk::Image::GetPixelType().

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

Reimplemented from mitk::NodePredicateBase.

Definition at line 36 of file mitkNodePredicateDimension.h.

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

Reimplemented from mitk::NodePredicateBase.

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

Definition at line 36 of file mitkNodePredicateDimension.h.

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

Definition at line 37 of file mitkNodePredicateDimension.h.

Referenced by TestDataStorage().

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

Definition at line 38 of file mitkNodePredicateDimension.h.

Member Data Documentation

unsigned int mitk::NodePredicateDimension::m_Dimension
protected

Definition at line 57 of file mitkNodePredicateDimension.h.

std::vcl_size_t mitk::NodePredicateDimension::m_PixelComponents
protected

Definition at line 58 of file mitkNodePredicateDimension.h.


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