22 : m_Dimension(dimension), m_PixelComponents(pixelComponents)
27 : m_Dimension(dimension), m_PixelComponents(1)
38 throw std::invalid_argument(
"NodePredicateDimension: invalid node");
virtual bool CheckNode(const mitk::DataNode *node) const override
Checks if the nodes data object is of the specified dimension.
virtual ~NodePredicateDimension()
Standard Destructor.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
NodePredicateDimension(unsigned int dimension)
Standard Constructor.
Image class for storing images.
const mitk::PixelType GetPixelType(int n=0) const
Returns the PixelType of channel n.
vcl_size_t GetNumberOfComponents() const
Get the number of components of which each element consists.
unsigned int GetDimension() const
Get dimension of the image.
Class for nodes of the DataTree.