|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNode's data object has the same geometry (in terms of spacing, origin, orientation) as the reference geometry. More...
#include <mitkNodePredicateGeometry.h>


Protected Member Functions | |
| NodePredicateGeometry (const BaseGeometry *refGeometry) | |
| Constructor that checks the reference geometry against the first data timepoint. More... | |
| NodePredicateGeometry (const BaseGeometry *refGeometry, TimePointType relevantTimePoint) | |
| Constructor that checks the reference geometry against a specific timepoint. More... | |
| NodePredicateGeometry (const TimeGeometry *refGeometry) | |
| Constructor that checks against the whole time geometry. More... | |
Protected Attributes | |
| BaseGeometry::ConstPointer | m_RefGeometry |
| TimeGeometry::ConstPointer | m_RefTimeGeometry |
| TimePointType | m_TimePoint |
| bool | m_UseTimePoint |
| Indicates if m_TimePoint should be regarded or always the first timestep should be used. More... | |
| mitk::ScalarType | m_CheckCoordinatePrecision |
| Precision that should be used for the equal coordinate checks. More... | |
| mitk::ScalarType | m_CheckDirectionPrecision |
| Precision that should be used for the equal direction checks. More... | |
Predicate that evaluates if the given DataNode's data object has the same geometry (in terms of spacing, origin, orientation) as the reference geometry.
One can either check the whole time geometry of the data node by defining a reference time geometry or check against one given reference base geometry. If the predicate should check against a base geometry, you can specify the timepoint of the data's time geometry that should be checked. If no timepoint is defined the predicate will evaluate the data geometry in the first timestep. Evaluates to "false" for unsupported or undefined data objects/geometries.
One can specify the tolerance/precision of the check via SetCheckPrecision(), SetCheckCoordinatePrecision() or SetCheckDirectionPrecision().
Definition at line 52 of file mitkNodePredicateGeometry.h.
|
override |
Standard Destructor.
|
protected |
Constructor that checks the reference geometry against the first data timepoint.
| refGeometry | The reference base geometry to compare against. |
|
protected |
Constructor that checks the reference geometry against a specific timepoint.
| refGeometry | The reference base geometry to compare against. |
| relevantTimePoint | The timepoint of the data's time geometry to evaluate. |
|
protected |
Constructor that checks against the whole time geometry.
| refGeometry | The reference time geometry to compare against. |
|
overridevirtual |
Checks if the node's data geometry matches the reference geometry.
| node | The DataNode to check. |
Implements mitk::NodePredicateBase.
|
virtual |
|
virtual |
| mitk::NodePredicateGeometry::mitkClassMacro | ( | NodePredicateGeometry | , |
| NodePredicateBase | |||
| ) |
| mitk::NodePredicateGeometry::mitkNewMacro1Param | ( | NodePredicateGeometry | , |
| const BaseGeometry * | |||
| ) |
| mitk::NodePredicateGeometry::mitkNewMacro1Param | ( | NodePredicateGeometry | , |
| const TimeGeometry * | |||
| ) |
| mitk::NodePredicateGeometry::mitkNewMacro2Param | ( | NodePredicateGeometry | , |
| const BaseGeometry * | , | ||
| TimePointType | |||
| ) |
|
virtual |
|
virtual |
| void mitk::NodePredicateGeometry::SetCheckPrecision | ( | mitk::ScalarType | precision | ) |
Sets both CheckCoordinatePrecision and CheckDirectionPrecision to the passed value.
| precision | The precision value to use for both coordinate and direction checks. |
|
protected |
Precision that should be used for the equal coordinate checks.
Definition at line 109 of file mitkNodePredicateGeometry.h.
|
protected |
Precision that should be used for the equal direction checks.
Definition at line 111 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 103 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 104 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 105 of file mitkNodePredicateGeometry.h.
|
protected |
Indicates if m_TimePoint should be regarded or always the first timestep should be used.
Definition at line 107 of file mitkNodePredicateGeometry.h.