13 #ifndef mitkNodePredicateSubGeometry_h
14 #define mitkNodePredicateSubGeometry_h
Abstract base class describing the geometry of a data object.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Abstract base class for predicates used to filter DataNode objects in DataStorage queries.
Predicate that evaluates if the given DataNode's data object has a geometry that is a sub geometry of...
bool m_UseTimePoint
Indicates if m_TimePoint should be regarded or always the first timestep should be used.
TimePointType m_TimePoint
bool CheckNode(const mitk::DataNode *node) const override
Checks if the node's data geometry is a sub geometry of the reference.
BaseGeometry::ConstPointer m_RefGeometry
void SetCheckPrecision(mitk::ScalarType precision)
Sets both CheckCoordinatePrecision and CheckDirectionPrecision to the passed value.
NodePredicateSubGeometry(const BaseGeometry *refGeometry, TimePointType relevantTimePoint)
Constructor that checks the reference geometry against a specific timepoint.
mitkClassMacro(NodePredicateSubGeometry, NodePredicateBase)
mitk::ScalarType m_CheckCoordinatePrecision
Precision that should be used for the equal coordinate checks.
mitkNewMacro2Param(NodePredicateSubGeometry, const BaseGeometry *, TimePointType)
mitkNewMacro1Param(NodePredicateSubGeometry, const BaseGeometry *)
~NodePredicateSubGeometry() override
Standard Destructor.
NodePredicateSubGeometry(const BaseGeometry *refGeometry)
Constructor that checks the reference geometry against the first data timepoint.
mitk::ScalarType m_CheckDirectionPrecision
Precision that should be used for the equal direction checks.
Find image slices visible on a given plane.
mitk::ScalarType TimePointType
Type for time point values in milliseconds (ms).
double ScalarType
Scalar type used throughout MITK for geometric computations.