Computer Assisted Medical Intervention Tool Kit  version 5.2
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...
 

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.

Member Function Documentation

◆ DEG()

RotationUnit & RotationUnit::DEG ( )
static

degrees

Referenced by Rotation::Rotation(), and 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: