class to handle Orientation More...
#include <gdcmOrientation.h>
Public Types | |
enum | OrientationType { UNKNOWN, AXIAL, CORONAL, SAGITTAL, OBLIQUE } |
Public Member Functions | |
Orientation () | |
~Orientation () | |
void | Print (std::ostream &) const |
Print. | |
Static Public Member Functions | |
static const char * | GetLabel (OrientationType type) |
Return the label of an Orientation. | |
static double | GetObliquityThresholdCosineValue () |
static OrientationType | GetType (const double dircos[6]) |
static void | SetObliquityThresholdCosineValue (double val) |
ObliquityThresholdCosineValue stuff. | |
Static Protected Member Functions | |
static char | GetMajorAxisFromPatientRelativeDirectionCosine (double x, double y, double z) |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const Orientation &o) |
class to handle Orientation
gdcm::Orientation::Orientation | ( | ) |
gdcm::Orientation::~Orientation | ( | ) |
static const char* gdcm::Orientation::GetLabel | ( | OrientationType | type ) | [static] |
Return the label of an Orientation.
static char gdcm::Orientation::GetMajorAxisFromPatientRelativeDirectionCosine | ( | double | x, |
double | y, | ||
double | z | ||
) | [static, protected] |
static double gdcm::Orientation::GetObliquityThresholdCosineValue | ( | ) | [static] |
static OrientationType gdcm::Orientation::GetType | ( | const double | dircos[6] ) | [static] |
Return the type of orientation from a direction cosines Input is an array of 6 double
void gdcm::Orientation::Print | ( | std::ostream & | ) | const |
Print.
Referenced by gdcm::operator<<().
static void gdcm::Orientation::SetObliquityThresholdCosineValue | ( | double | val ) | [static] |
ObliquityThresholdCosineValue stuff.
std::ostream& operator<< | ( | std::ostream & | _os, |
const Orientation & | o | ||
) | [friend] |