18 : m_RefGeometry(refGeometry), m_RefTimeGeometry(nullptr), m_TimePoint(relevantTimePoint), m_UseTimePoint(true), m_CheckPrecision(
mitk::
eps)
20 if (
m_RefGeometry.IsNull())
mitkThrow() <<
"Invalid constructor initialization. Reference base geometry instance is nullptr pointer.";
26 if (
m_RefGeometry.IsNull())
mitkThrow() <<
"Invalid constructor initialization. Reference base geometry instance is nullptr pointer.";
32 if (
m_RefTimeGeometry.IsNull())
mitkThrow() <<
"Invalid constructor initialization. Reference base geometry instance is nullptr pointer.";
42 mitkThrow() <<
"NodePredicateGeometry: invalid node";
bool CheckNode(const mitk::DataNode *node) const override
This method will be used to evaluate the node. Has to be overwritten in subclasses.
Base of all data objects.
NodePredicateGeometry(const BaseGeometry *refGeometry)
DataCollection - Class to facilitate loading/accessing structured data.
const mitk::TimeGeometry * GetTimeGeometry() const
Return the TimeGeometry of the data as const pointer.
virtual BaseGeometry::Pointer GetGeometryForTimePoint(TimePointType timePoint) const =0
Returns the geometry of a specific time point.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
mitk::ScalarType m_CheckPrecision
BaseGeometry::ConstPointer m_RefGeometry
mitk::ScalarType TimePointType
~NodePredicateGeometry() override
TimePointType m_TimePoint
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
MITKCORE_EXPORT const ScalarType eps
TimeGeometry::ConstPointer m_RefTimeGeometry
mitk::BaseGeometry * GetGeometry(int t=0) const
Return the geometry, which is a TimeGeometry, of the data as non-const pointer.
BaseGeometry Describes the geometry of a data object.
Class for nodes of the DataTree.