18 : m_Dimension(dimension), m_PixelComponents(pixelComponents)
34 throw std::invalid_argument(
"NodePredicateDimension: invalid node");
bool CheckNode(const mitk::DataNode *node) const override
Checks if the nodes data object is of the specified dimension.
NodePredicateDimension(unsigned int dimension)
Standard Constructor.
std::vcl_size_t m_PixelComponents
~NodePredicateDimension() override
Standard Destructor.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
Image class for storing images.
mitk::Image::Pointer image
Class for nodes of the DataTree.