cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vctEulerRotation3Base Class Reference

#include <vctEulerRotation3.h>

Inheritance diagram for vctEulerRotation3Base:
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 throw (std::runtime_error)
 
template<class _inputType >
void ThrowUnlessIsNormalized (const _inputType &input) const throw (std::runtime_error)
 

Protected Attributes

vct3 Angles
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

vctEulerRotation3Base::vctEulerRotation3Base ( void  )
inline

Constructors

vctEulerRotation3Base::vctEulerRotation3Base ( const vctEulerRotation3Base other)
inline
vctEulerRotation3Base::vctEulerRotation3Base ( double  phi,
double  theta,
double  psi 
)
inline
vctEulerRotation3Base::vctEulerRotation3Base ( double *  angles)
inline
vctEulerRotation3Base::vctEulerRotation3Base ( const vct3 angles)
inline
vctEulerRotation3Base::~vctEulerRotation3Base ( )
inline

Member Function Documentation

double vctEulerRotation3Base::alpha ( void  ) const
inline
void vctEulerRotation3Base::Assign ( double  phi,
double  theta,
double  psi 
)

Assignment methods

double vctEulerRotation3Base::beta ( void  ) const
inline
double vctEulerRotation3Base::gamma ( void  ) const
inline
vctEulerRotation3Base& vctEulerRotation3Base::InverseSelf ( void  )

Inverts this rotation

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)
vctEulerRotation3Base& vctEulerRotation3Base::NormalizedSelf ( void  )

Normalizes this rotation (ensures angles are within limits)

double vctEulerRotation3Base::phi ( void  ) const
inline
double vctEulerRotation3Base::psi ( void  ) const
inline
double vctEulerRotation3Base::theta ( void  ) const
inline
void vctEulerRotation3Base::ThrowUnlessIsNormalized ( void  ) const
throw (std::runtime_error
)
inlineprotected

Throw an exception unless this rotation is normalized.

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

Throw an exception unless the input is normalized.

Parameters
inputAn object with IsNormalized method.

Member Data Documentation

vct3 vctEulerRotation3Base::Angles
protected

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