21 #ifndef __mia_3d_oriantation_hh 22 #define __mia_3d_oriantation_hh 100 void get_inverse_transform_parameters(
CDoubleVector& params)
const;
109 void print(std::ostream& os)
const;
120 const mia::Quaternion& get_rotation()
const;
124 const C3DFMatrix& get_axis_switch_matrix()
const;
274 static const int value = 3000;
279 static const int value = 3001;
284 static const int value = 3002;
a class to implement a quaternion
Generic string vs. attribute translator singleton.
TAttribute< E3DPatientPositioning > CPatientPositionAttribute
attribute for the patient position
TTranslator< C3DOrientationAndPosition > COrientationPositionTranslator
bool operator==(const CAttribute &a, const CAttribute &b)
A wrapper around the c-array to provide an STL like interface for iterators.
T3DVector< float > C3DFVector
A float 3D Vector.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
EXPORT_2D C2DFVectorfield & operator+=(C2DFVectorfield &a, const C2DFVectorfield &b)
bool operator<(const T2DVector< T > &a, const T2DVector< S > &b)
const TDictMap< E3DPatientPositioning > g_patient_position_map
EXPORT_3D std::ostream & operator<<(std::ostream &os, E3DImageOrientation orient)
Stream operator to write orientation orient to stream os.
void print(std::ostream &os) const
EXPORT_3D std::istream & operator>>(std::istream &is, E3DImageOrientation &orient)
Stream operator to read orientation orient from stream is.
This class represents the oriantation and position of a 3D data set.
const TDictMap< E3DImageOrientation > g_image_orientation_map
EXPORT_3D const char * IDPatientPosition
TTranslator< E3DPatientPositioning > CPatientPositionTranslator
translator for the patient position
TAttribute< C3DOrientationAndPosition > C3DImageOrientationPositionAttribute
TAttribute< E3DImageOrientation > C3DImageOrientation
attribute for 3D image orientation
TTranslator< E3DImageOrientation > COrientationTranslator
translator for 3D image orientations to and from strings
A mapper from emums to string values. - usefull for names flags.
Class of an attribute that holds data of type T.
#define NS_MIA_END
conveniance define to end the mia namespace