Computer Assited Medical Intervention Tool Kit  version 5.0
RotationUnit Class Reference

RotationUnit model the different values that can be taken by the unit field of a rotation. More...

#include <RotationUnit.h>

+ Inheritance diagram for RotationUnit:
+ Collaboration diagram for RotationUnit:

Static Public Member Functions

static RotationUnitDEG ()
 degrees More...
 
static RotationUnitRAD ()
 radians More...
 

Private Member Functions

 RotationUnit (std::string n)
 

Additional Inherited Members

- Public Member Functions inherited from Unit
std::string getUnitName ()
 
virtual ~Unit ()=default
 
- Protected Attributes inherited from Unit
std::string unitString
 

Detailed Description

RotationUnit model the different values that can be taken by the unit field of a rotation.

Note
This class implements the type-safe design pattern.

Constructor & Destructor Documentation

◆ RotationUnit()

RotationUnit::RotationUnit ( std::string  n)
inlineprivate

Member Function Documentation

◆ DEG()

RotationUnit & RotationUnit::DEG ( )
static

degrees

Referenced by Loads::xmlRead().

+ Here is the caller graph for this function:

◆ RAD()

RotationUnit & RotationUnit::RAD ( )
static

radians

Referenced by Loads::xmlRead().

+ Here is the caller graph for this function:

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