Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkNodePredicateDataType_h
14 #define mitkNodePredicateDataType_h
71 return node && node->
GetData() &&
dynamic_cast<T *
>(node->
GetData());
Predicate that evaluates if the given DataNodes data object is of a specific data type.
#define mitkNewMacro1Param(classname, type)
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
std::string m_ValidDataType
Find image slices visible on a given plane.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
bool CheckNode(const mitk::DataNode *node) const override
Checks, if the nodes data object is of a specific data type (casts)
Tests for type compatibility (dynamic_cast).
TNodePredicateDataType()
Protected constructor, use static instantiation functions instead.
~TNodePredicateDataType() override
#define mitkClassMacro(className, SuperClassName)
Class for nodes of the DataTree.