Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNode's data object has the same geometry (in terms of spacing, origin, orientation) like the reference geometry. More...
#include <mitkNodePredicateGeometry.h>
Public Types | |
typedef NodePredicateGeometry | Self |
typedef NodePredicateBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::NodePredicateBase | |
typedef NodePredicateBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
void | SetCheckPrecision (mitk::ScalarType precision) |
virtual void | SetCheckCoordinatePrecision (mitk::ScalarType _arg) |
virtual mitk::ScalarType | GetCheckCoordinatePrecision () |
virtual void | SetCheckDirectionPrecision (mitk::ScalarType _arg) |
virtual mitk::ScalarType | GetCheckDirectionPrecision () |
~NodePredicateGeometry () override | |
bool | CheckNode (const mitk::DataNode *node) const override |
This method will be used to evaluate the node. Has to be overwritten in subclasses. More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
~NodePredicateBase () override | |
Standard Destructor. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (const TimeGeometry *_arg) |
static Pointer | New (const BaseGeometry *_arg) |
static Pointer | New (const BaseGeometry *_arga, TimePointType _argb) |
Static Public Member Functions inherited from mitk::NodePredicateBase | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
NodePredicateGeometry (const BaseGeometry *refGeometry) | |
NodePredicateGeometry (const BaseGeometry *refGeometry, TimePointType relevantTimePoint) | |
NodePredicateGeometry (const TimeGeometry *refGeometry) | |
Predicate that evaluates if the given DataNode's data object has the same geometry (in terms of spacing, origin, orientation) like the reference geometry.
Documentation One can either check the whole time geometry of the date 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 51 of file mitkNodePredicateGeometry.h.
typedef itk::SmartPointer<const Self> mitk::NodePredicateGeometry::ConstPointer |
Definition at line 54 of file mitkNodePredicateGeometry.h.
Definition at line 54 of file mitkNodePredicateGeometry.h.
Definition at line 54 of file mitkNodePredicateGeometry.h.
Definition at line 54 of file mitkNodePredicateGeometry.h.
|
override |
|
protected |
Constructor that is used configures the predicate to check the reference geometry against the first data timepoint.
|
protected |
Constructor allows to define the timepoint that should be evaluated against the reference.
|
protected |
Constructor that is used configures the predicate to check against the whole time geometry.
|
overridevirtual |
This method will be used to evaluate the node. Has to be overwritten in subclasses.
Implements mitk::NodePredicateBase.
|
virtual |
|
virtual |
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Definition at line 54 of file mitkNodePredicateGeometry.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
|
inlinestatic |
Definition at line 54 of file mitkNodePredicateGeometry.h.
|
inlinestatic |
Definition at line 56 of file mitkNodePredicateGeometry.h.
|
inlinestatic |
Definition at line 57 of file mitkNodePredicateGeometry.h.
|
inlinestatic |
Definition at line 55 of file mitkNodePredicateGeometry.h.
|
virtual |
|
virtual |
void mitk::NodePredicateGeometry::SetCheckPrecision | ( | mitk::ScalarType | precision | ) |
Sets CheckCoordinatePrecision and CheckDirectionPrecision to the passed value.
|
protected |
Precision that should be used for the equal coordinate checks.
Definition at line 87 of file mitkNodePredicateGeometry.h.
|
protected |
Precision that should be used for the equal direction checks.
Definition at line 89 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 81 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 82 of file mitkNodePredicateGeometry.h.
|
protected |
Definition at line 83 of file mitkNodePredicateGeometry.h.
|
protected |
Indicates if m_TimePoint should be regarded or always the first timestep should be used.
Definition at line 85 of file mitkNodePredicateGeometry.h.