|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNode's data object has the specified dimension, for datasets where dimension is applicable. More...
#include <mitkNodePredicateDimension.h>


Public Member Functions | |
| mitkClassMacro (NodePredicateDimension, NodePredicateBase) | |
| mitkNewMacro1Param (NodePredicateDimension, unsigned int) | |
| mitkNewMacro2Param (NodePredicateDimension, unsigned int, int) | |
| ~NodePredicateDimension () override | |
| Standard Destructor. More... | |
| bool | CheckNode (const mitk::DataNode *node) const override |
| Checks if the node's data object has the specified dimension. More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
| mitkClassMacroItkParent (NodePredicateBase, itk::Object) | |
| ~NodePredicateBase () override | |
| Virtual destructor. More... | |
Protected Member Functions | |
| NodePredicateDimension (unsigned int dimension) | |
| Constructor with dimension only (pixel components defaults to 1). More... | |
| NodePredicateDimension (unsigned int dimension, int pixelComponents) | |
| Constructor with dimension and pixel component count. More... | |
Protected Attributes | |
| unsigned int | m_Dimension |
| std::size_t | m_PixelComponents |
Predicate that evaluates if the given DataNode's data object has the specified dimension, for datasets where dimension is applicable.
For Image data, both the image dimension and pixel component count are checked. For non-Image data, the dimension is inferred from the TimeGeometry if the pixel component count is the default value (1). Evaluates to "false" for unsupported datasets.
Definition at line 32 of file mitkNodePredicateDimension.h.
|
override |
Standard Destructor.
|
protected |
Constructor with dimension only (pixel components defaults to 1).
| dimension | The required image dimension. |
|
protected |
Constructor with dimension and pixel component count.
| dimension | The required image dimension. |
| pixelComponents | The required number of pixel components. |
|
overridevirtual |
Checks if the node's data object has the specified dimension.
| node | The DataNode to check. |
Implements mitk::NodePredicateBase.
| mitk::NodePredicateDimension::mitkClassMacro | ( | NodePredicateDimension | , |
| NodePredicateBase | |||
| ) |
| mitk::NodePredicateDimension::mitkNewMacro1Param | ( | NodePredicateDimension | , |
| unsigned int | |||
| ) |
| mitk::NodePredicateDimension::mitkNewMacro2Param | ( | NodePredicateDimension | , |
| unsigned int | , | ||
| int | |||
| ) |
|
protected |
Definition at line 63 of file mitkNodePredicateDimension.h.
|
protected |
Definition at line 64 of file mitkNodePredicateDimension.h.