|
DCMTK
Version 3.7.0
OFFIS DICOM Toolkit
|
Implements comparision operator to be used for sorting of frame positions, making the sorting order depend on the coordinate given in the constructor. More...
Public Member Functions | |
| ComparePositions (size_t c) | |
| Constructor, used to configure coordinate position to be used for sorting. More... | |
| bool | operator() (const FramePositionAndNumber &a, const FramePositionAndNumber &b) const |
| Compare two frames. More... | |
Public Attributes | |
| size_t | m_coordinate |
| Coordinate position (0-2, i.e. x,x,z) to be used for sorting. | |
Implements comparision operator to be used for sorting of frame positions, making the sorting order depend on the coordinate given in the constructor.
|
inline |
Constructor, used to configure coordinate position to be used for sorting.
| c | Coordinate position to be used for sorting |
|
inline |
Compare two frames.
| a | First frame to compare |
| b | Second frame to compare |
References m_coordinate, and OverlapUtil::FramePositionAndNumber::m_position.