Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Sort by distance of image origin along image normal (for use in DICOMTagBasedSorter). More...
#include <mitkSortByImagePositionPatient.h>
Public Member Functions | |
mitkClassMacro (SortByImagePositionPatient, DICOMSortCriterion) | |
mitkNewMacro1Param (SortByImagePositionPatient, DICOMSortCriterion::Pointer) | |
DICOMTagList | GetTagsOfInterest () const override |
Tags used for comparison. More... | |
bool | IsLeftBeforeRight (const mitk::DICOMDatasetAccess *left, const mitk::DICOMDatasetAccess *right) const override |
Answer the sorting question. More... | |
double | NumericDistance (const mitk::DICOMDatasetAccess *from, const mitk::DICOMDatasetAccess *to) const override |
Calculate a distance between two datasets. This answers the question of consecutive datasets. More... | |
void | Print (std::ostream &os) const override |
brief describe this class in given stream. More... | |
bool | operator== (const DICOMSortCriterion &other) const override |
Public Member Functions inherited from mitk::DICOMSortCriterion | |
mitkClassMacroItkParent (DICOMSortCriterion, itk::LightObject) | |
DICOMTagList | GetAllTagsOfInterest () const |
Tags used for comparison (includes secondary criteria). More... | |
DICOMSortCriterion::ConstPointer | GetSecondaryCriterion () const |
The fallback criterion. More... | |
Protected Member Functions | |
SortByImagePositionPatient (DICOMSortCriterion::Pointer secondaryCriterion=nullptr) | |
~SortByImagePositionPatient () override | |
SortByImagePositionPatient (const SortByImagePositionPatient &other) | |
SortByImagePositionPatient & | operator= (const SortByImagePositionPatient &other) |
double | InternalNumericDistance (const mitk::DICOMDatasetAccess *from, const mitk::DICOMDatasetAccess *to, bool &possible) const |
Protected Member Functions inherited from mitk::DICOMSortCriterion | |
DICOMSortCriterion (DICOMSortCriterion::Pointer secondaryCriterion) | |
~DICOMSortCriterion () override | |
bool | NextLevelIsLeftBeforeRight (const mitk::DICOMDatasetAccess *left, const mitk::DICOMDatasetAccess *right) const |
DICOMSortCriterion (const DICOMSortCriterion &other) | |
DICOMSortCriterion & | operator= (const DICOMSortCriterion &other) |
Additional Inherited Members | |
Protected Attributes inherited from mitk::DICOMSortCriterion | |
DICOMSortCriterion::Pointer | m_SecondaryCriterion |
Sort by distance of image origin along image normal (for use in DICOMTagBasedSorter).
To compare two datasets, their distance to the world origin is calculated. This distance is calculated along the image normals because we do not know the image orientation in advance, to any of the three coordinates could be identical for all datasets.
Definition at line 33 of file mitkSortByImagePositionPatient.h.
|
protected |
|
overrideprotected |
|
protected |
|
overridevirtual |
Tags used for comparison.
Implements mitk::DICOMSortCriterion.
|
protected |
|
overridevirtual |
Answer the sorting question.
Implements mitk::DICOMSortCriterion.
mitk::SortByImagePositionPatient::mitkClassMacro | ( | SortByImagePositionPatient | , |
DICOMSortCriterion | |||
) |
mitk::SortByImagePositionPatient::mitkNewMacro1Param | ( | SortByImagePositionPatient | , |
DICOMSortCriterion::Pointer | |||
) |
|
overridevirtual |
Calculate a distance between two datasets. This answers the question of consecutive datasets.
Implements mitk::DICOMSortCriterion.
|
protected |
|
overridevirtual |
Implements mitk::DICOMSortCriterion.
|
overridevirtual |
brief describe this class in given stream.
Implements mitk::DICOMSortCriterion.