13 #ifndef mitkNodePredicateGeometry_h
14 #define mitkNodePredicateGeometry_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 the same geometry (in terms of spaci...
~NodePredicateGeometry() override
Standard Destructor.
void SetCheckPrecision(mitk::ScalarType precision)
Sets both CheckCoordinatePrecision and CheckDirectionPrecision to the passed value.
bool m_UseTimePoint
Indicates if m_TimePoint should be regarded or always the first timestep should be used.
NodePredicateGeometry(const BaseGeometry *refGeometry)
Constructor that checks the reference geometry against the first data timepoint.
NodePredicateGeometry(const BaseGeometry *refGeometry, TimePointType relevantTimePoint)
Constructor that checks the reference geometry against a specific timepoint.
TimeGeometry::ConstPointer m_RefTimeGeometry
mitkClassMacro(NodePredicateGeometry, NodePredicateBase)
mitkNewMacro1Param(NodePredicateGeometry, const TimeGeometry *)
mitkNewMacro1Param(NodePredicateGeometry, const BaseGeometry *)
TimePointType m_TimePoint
BaseGeometry::ConstPointer m_RefGeometry
NodePredicateGeometry(const TimeGeometry *refGeometry)
Constructor that checks against the whole time geometry.
mitk::ScalarType m_CheckCoordinatePrecision
Precision that should be used for the equal coordinate checks.
bool CheckNode(const mitk::DataNode *node) const override
Checks if the node's data geometry matches the reference geometry.
mitkNewMacro2Param(NodePredicateGeometry, const BaseGeometry *, TimePointType)
mitk::ScalarType m_CheckDirectionPrecision
Precision that should be used for the equal direction checks.
Find image slices visible on a given plane.
constexpr double NODE_PREDICATE_GEOMETRY_DEFAULT_CHECK_DIRECTION_PRECISION
The default tolerance for the comparison of direction matrix equality.
constexpr double NODE_PREDICATE_GEOMETRY_DEFAULT_CHECK_COORDINATE_PRECISION
The default tolerance for the comparison of spatial/world coordinate equality.
mitk::ScalarType TimePointType
Type for time point values in milliseconds (ms).
double ScalarType
Scalar type used throughout MITK for geometric computations.