Computer Assited Medical Intervention Tool Kit  version 4.1
Static Public Member Functions | Private Member Functions | List of all members
RotationUnit Class Reference

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

#include <RotationUnit.h>

Inherits Unit.

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

References Unit::unitString.

Member Function Documentation

◆ DEG()

RotationUnit & RotationUnit::DEG ( )
static

degrees

Referenced by Rotation::Rotation(), and Loads::xmlRead().

◆ RAD()

RotationUnit & RotationUnit::RAD ( )
static

radians

Referenced by Loads::xmlRead().


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