Base class for a value with a physical unit. More...
#include <cmtkUnits.h>
Public Member Functions | |
UnitBase (const double value) | |
Constructor. | |
double | Value () const |
Get value. | |
Static Public Member Functions | |
static double | Pi () |
Constant: pi. | |
Private Attributes | |
double | m_Value |
Actual value. |
Base class for a value with a physical unit.
Definition at line 51 of file cmtkUnits.h.
cmtk::Units::UnitBase::UnitBase | ( | const double | value ) | [inline, explicit] |
Constructor.
Definition at line 55 of file cmtkUnits.h.
static double cmtk::Units::UnitBase::Pi | ( | ) | [inline, static] |
Constant: pi.
Definition at line 64 of file cmtkUnits.h.
double cmtk::Units::UnitBase::Value | ( | ) | const [inline] |
Get value.
Definition at line 58 of file cmtkUnits.h.
Referenced by cmtk::MathUtil::Cos(), cmtk::Matrix4x4< T >::Decompose(), cmtk::Matrix3x3< T >::Decompose(), cmtk::FilterMask< DIM >::Gaussian::Gaussian(), cmtk::ParametricPlane::GetAlignmentXform(), cmtk::GaussianKernel< TFloat >::GetHalfKernel(), cmtk::FunctionalAffine2D::GetParamStep(), cmtk::GaussianKernel< TFloat >::GetRadius(), cmtk::GaussianKernel< TFloat >::GetSymmetricKernel(), cmtk::FilterVolume::RohlfingFilter(), cmtk::MathUtil::Sin(), and cmtk::MathUtil::Tan().
double cmtk::Units::UnitBase::m_Value [private] |
Actual value.
Definition at line 71 of file cmtkUnits.h.