STIR 6.5.0
stir::PatientPosition Class Reference

#include "stir/PatientPosition.h"

Public Types

enum  OrientationValue { head_in , feet_in , other_orientation , unknown_orientation }
 enum specifying if the patient is scanned with the head first in the gantry, or the feet.
enum  RotationValue {
  supine , prone , right , left ,
  other_rotation , unknown_rotation
}
 enum specifying on what side the patient is lying on More...
enum  PositionValue {
  HFS , HFP , HFDR , HFDL ,
  FFS , FFP , FFDR , FFDL ,
  unknown_position
}
 enum using DICOM abreviations More...

Public Member Functions

 PatientPosition ()
 Default constructor (setting to unknown position and orientation).
 PatientPosition (OrientationValue orientation, RotationValue rotation)
 PatientPosition (PositionValue position)
bool operator== (const PatientPosition &p1) const
bool operator!= (const PatientPosition &p1) const
void set_rotation (const RotationValue rotation_v)
RotationValue get_rotation () const
void set_orientation (const OrientationValue orientation_v)
OrientationValue get_orientation () const
PositionValue get_position () const
const char * get_position_as_string () const
 returns strings HFS, FFP etc (see PositionValue)

Detailed Description

Class for encoding patient position

Member Enumeration Documentation

◆ RotationValue

enum specifying on what side the patient is lying on

prone is face-downward, left is lying on the left side

◆ PositionValue

enum using DICOM abreviations

See Dicom C.7.3.1.1.2

Enumerator
HFS 

Head First-Supine.

HFP 

Head First-Prone.

HFDR 

Head First-Decubitus Right.

HFDL 

Head First-Decubitus Left.

FFS 

Feet First-Supine.

FFP 

Feet First-Prone.

FFDR 

Feet First-Decubitus Right.

FFDL 

Feet First-Decubitus Left.

Constructor & Destructor Documentation

◆ PatientPosition()

stir::PatientPosition::PatientPosition ( )
inline

Default constructor (setting to unknown position and orientation).

Referenced by stir::ecat::ecat7::CListModeDataECAT< CListRecordT >::CListModeDataECAT().

Member Function Documentation

◆ get_position_as_string()

const char * stir::PatientPosition::get_position_as_string ( ) const

returns strings HFS, FFP etc (see PositionValue)

References FFDL, FFDR, FFP, FFS, get_position_as_string(), HFDL, HFDR, HFP, and HFS.

Referenced by get_position_as_string().


The documentation for this class was generated from the following files: