cisst-saw
Loading...
Searching...
No Matches
vctEulerRotation3Base Class Reference

#include <vctEulerRotation3.h>

Inheritance diagram for vctEulerRotation3Base:
vctEulerRotation3< vctEulerRotation3Order::ZYZ > vctEulerRotation3< vctEulerRotation3Order::ZYX > vctEulerRotation3< vctEulerRotation3Order::ZXZ > vctEulerRotation3< vctEulerRotation3Order::YZX > vctEulerRotation3< _order >

Public Member Functions

 vctEulerRotation3Base (void)
 vctEulerRotation3Base (const vctEulerRotation3Base &other)
 vctEulerRotation3Base (double phi, double theta, double psi)
 vctEulerRotation3Base (double *angles)
 vctEulerRotation3Base (const vct3 &angles)
 ~vctEulerRotation3Base ()
double phi (void) const
double theta (void) const
double psi (void) const
double alpha (void) const
double beta (void) const
double gamma (void) const
void Assign (double phi, double theta, double psi)
vctEulerRotation3BaseInverseSelf (void)
vctEulerRotation3BaseNormalizedSelf (void)
bool IsNormalized (double tolerance=TypeTraits::Tolerance()) const

Protected Types

typedef cmnTypeTraits< double > TypeTraits

Protected Member Functions

void ThrowUnlessIsNormalized (void) const CISST_THROW(std
template<class _inputType>
void ThrowUnlessIsNormalized (const _inputType &input) const CISST_THROW(std

Protected Attributes

vct3 Angles

Member Typedef Documentation

◆ TypeTraits

Traits used for all useful types and values related to the element type.

Constructor & Destructor Documentation

◆ vctEulerRotation3Base() [1/5]

vctEulerRotation3Base::vctEulerRotation3Base ( void )
inline

Constructors

◆ vctEulerRotation3Base() [2/5]

vctEulerRotation3Base::vctEulerRotation3Base ( const vctEulerRotation3Base & other)
inline

◆ vctEulerRotation3Base() [3/5]

vctEulerRotation3Base::vctEulerRotation3Base ( double phi,
double theta,
double psi )
inline

◆ vctEulerRotation3Base() [4/5]

vctEulerRotation3Base::vctEulerRotation3Base ( double * angles)
inline

◆ vctEulerRotation3Base() [5/5]

vctEulerRotation3Base::vctEulerRotation3Base ( const vct3 & angles)
inline

◆ ~vctEulerRotation3Base()

vctEulerRotation3Base::~vctEulerRotation3Base ( )
inline

Member Function Documentation

◆ alpha()

double vctEulerRotation3Base::alpha ( void ) const
inline

◆ Assign()

void vctEulerRotation3Base::Assign ( double phi,
double theta,
double psi )

Assignment methods

◆ beta()

double vctEulerRotation3Base::beta ( void ) const
inline

◆ gamma()

double vctEulerRotation3Base::gamma ( void ) const
inline

◆ InverseSelf()

vctEulerRotation3Base & vctEulerRotation3Base::InverseSelf ( void )

Inverts this rotation

◆ IsNormalized()

bool vctEulerRotation3Base::IsNormalized ( double tolerance = TypeTraits::Tolerance()) const

Test if this rotation is normalized. This method checks that the angles are in the valid range.

Parameters
toleranceTolerance for the norm test (not used)

◆ NormalizedSelf()

vctEulerRotation3Base & vctEulerRotation3Base::NormalizedSelf ( void )

Normalizes this rotation (ensures angles are within limits)

◆ phi()

double vctEulerRotation3Base::phi ( void ) const
inline

◆ psi()

double vctEulerRotation3Base::psi ( void ) const
inline

◆ theta()

double vctEulerRotation3Base::theta ( void ) const
inline

◆ ThrowUnlessIsNormalized() [1/2]

template<class _inputType>
void vctEulerRotation3Base::ThrowUnlessIsNormalized ( const _inputType & input) const
inlineprotected

Throw an exception unless the input is normalized.

Parameters
inputAn object with IsNormalized method.

◆ ThrowUnlessIsNormalized() [2/2]

void vctEulerRotation3Base::ThrowUnlessIsNormalized ( void ) const
inlineprotected

Throw an exception unless this rotation is normalized.

Member Data Documentation

◆ Angles

vct3 vctEulerRotation3Base::Angles
protected

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