#include <vctQuaternion.h>
Inheritance diagram for vctQuaternion< _elementType >:


This class is templated by the element type. It is derived from vctQuaternionBase and uses a vctFixedSizeVector as underlying container. It provides a more humain interface for programmers only interested in templating by _elementType.
It is important to note that the class vctQuaternion is for any quaternion, i.e. it does not necessary represent a unit quaternion.
| _elementType | The type of elements of the vector. |
Definition at line 54 of file vctQuaternion.h.
| typedef vctQuaternion<value_type> vctQuaternion< _elementType >::ThisType |
Type of the vector itself.
Reimplemented from vctQuaternionBase< vctFixedSizeVector< _elementType, 4 > >.
Definition at line 60 of file vctQuaternion.h.
| typedef vctQuaternionBase<ContainerType> vctQuaternion< _elementType >::BaseType |
Type of the base class.
Reimplemented from vctQuaternionBase< vctFixedSizeVector< _elementType, 4 > >.
Definition at line 62 of file vctQuaternion.h.
| typedef cmnTypeTraits<value_type> vctQuaternion< _elementType >::TypeTraits |
Type traits for the elements of the vector.
Reimplemented from vctQuaternionBase< vctFixedSizeVector< _elementType, 4 > >.
Definition at line 63 of file vctQuaternion.h.
| vctQuaternion< _elementType >::vctQuaternion | ( | ) | [inline] |
Default constructor. Does nothing.
Definition at line 66 of file vctQuaternion.h.
| vctQuaternion< _elementType >::vctQuaternion | ( | const value_type & | x, | |
| const value_type & | y, | |||
| const value_type & | z, | |||
| const value_type & | r | |||
| ) | [inline] |
Constructor from 4 elements.
| x | The first imaginary component | |
| y | The second imaginary component | |
| z | The third imaginary component | |
| r | The real component |
Definition at line 77 of file vctQuaternion.h.