19 #ifndef __stir_PatientPosition_H__ 20 #define __stir_PatientPosition_H__ 68 : orientation(unknown_orientation),
69 rotation(unknown_rotation)
71 assert(rotation >= 0);
72 assert(rotation <= unknown_rotation);
73 assert(orientation >= 0);
74 assert(orientation <= unknown_orientation);
78 : orientation(orientation),
81 assert(rotation >= 0);
82 assert(rotation <= unknown_rotation);
83 assert(orientation >= 0);
84 assert(orientation <= unknown_orientation);
91 return this->get_orientation() == p1.get_orientation() && this->get_position() == p1.get_position()
92 && this->get_position_as_string() == p1.get_position_as_string() && this->get_rotation() == p1.get_rotation();
97 assert(rotation_v >= 0);
98 assert(rotation_v <= unknown_rotation);
99 rotation = rotation_v;
105 assert(orientation_v >= 0);
106 assert(orientation_v <= unknown_orientation);
107 orientation = orientation_v;
113 const char*
const get_position_as_string()
const;
Definition: PatientPosition.h:28
Feet First-Decubitus Right.
Definition: PatientPosition.h:61
Feet First-Prone.
Definition: PatientPosition.h:60
Head First-Prone.
Definition: PatientPosition.h:56
Feet First-Supine.
Definition: PatientPosition.h:59
Feet First-Decubitus Left.
Definition: PatientPosition.h:62
Head First-Supine.
Definition: PatientPosition.h:55
Head First-Decubitus Right.
Definition: PatientPosition.h:57
RotationValue
enum specifying on what side the patient is lying on
Definition: PatientPosition.h:41
PatientPosition()
Default constructor (setting to unknown position and orientation)
Definition: PatientPosition.h:67
Head First-Decubitus Left.
Definition: PatientPosition.h:58
basic configuration include file
OrientationValue
enum specifying if the patient is scanned with the head first in the gantry, or the feet...
Definition: PatientPosition.h:32
PositionValue
enum using DICOM abreviations
Definition: PatientPosition.h:53