Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNodes data object has the specified dimension, for datasets where dimension is applicable. More...
#include <mitkNodePredicateDimension.h>
Public Types | |
typedef NodePredicateDimension | Self |
typedef NodePredicateBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::NodePredicateBase | |
typedef NodePredicateBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
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 |
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.
typedef itk::SmartPointer<const Self> mitk::NodePredicateDimension::ConstPointer |
Definition at line 36 of file mitkNodePredicateDimension.h.
Definition at line 36 of file mitkNodePredicateDimension.h.
Definition at line 36 of file mitkNodePredicateDimension.h.
Definition at line 36 of file mitkNodePredicateDimension.h.
|
virtual |
Standard Destructor.
Definition at line 31 of file mitkNodePredicateDimension.cpp.
|
protected |
Standard Constructor.
Definition at line 26 of file mitkNodePredicateDimension.cpp.
|
protected |
Standard Constructor.
Definition at line 21 of file mitkNodePredicateDimension.cpp.
|
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().
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Definition at line 36 of file mitkNodePredicateDimension.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
|
inlinestatic |
Definition at line 36 of file mitkNodePredicateDimension.h.
|
inlinestatic |
Definition at line 37 of file mitkNodePredicateDimension.h.
Referenced by TestDataStorage().
|
inlinestatic |
Definition at line 38 of file mitkNodePredicateDimension.h.
|
protected |
Definition at line 57 of file mitkNodePredicateDimension.h.
|
protected |
Definition at line 58 of file mitkNodePredicateDimension.h.