22 #ifndef _vctRodriguezRotation3_h
23 #define _vctRodriguezRotation3_h
47 template <
class _elementType>
94 template <str
ide_type __str
ide,
class __dataPtrType>
97 throw(std::runtime_error)
106 throw(std::runtime_error)
112 template <
class __containerType>
115 throw(std::runtime_error)
117 this->
From(quaternionRotation);
121 template <
class __containerType>
124 throw(std::runtime_error)
126 this->
From(matrixRotation);
132 throw(std::runtime_error)
134 this->
From(axisAngleRotation);
168 template <str
ide_type __str
ide,
class __dataPtrType>
172 if (normalizeInput) {
186 if (normalizeInput) {
194 template <
class __containerType>
198 if (normalizeInput) {
201 this->
FromRaw(quaternionRotation);
206 template <
class __containerType>
210 if (normalizeInput) {
221 if (normalizeInput) {
224 this->
FromRaw(axisAngleRotation);
232 #endif // _vctRodriguezRotation3_h
vctRodriguezRotation3(const BaseType &other)
Definition: vctRodriguezRotation3.h:71
vctRodriguezRotation3< value_type > ThisType
Definition: vctRodriguezRotation3.h:56
vctRodriguezRotation3(const vctAxisAngleRotation3< value_type > &axisAngleRotation, bool normalizeInput)
Definition: vctRodriguezRotation3.h:218
cmnTypeTraits< value_type > TypeTraits
Definition: vctRodriguezRotation3.h:58
ThisType & FromRaw(const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector)
Definition: vctRodriguezRotation3Base.h:223
vctRodriguezRotation3(const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &axis, bool normalizeInput)
Definition: vctRodriguezRotation3.h:169
VCT_CONTAINER_TRAITS_TYPEDEFS(_elementType)
vctRodriguezRotation3(const vctMatrixRotation3Base< __containerType > &matrixRotation)
Definition: vctRodriguezRotation3.h:123
vctFixedSizeVector< value_type, 3 > ContainerType
Definition: vctRodriguezRotation3.h:54
static CISST_EXPORT const ThisType & Identity()
vctRodriguezRotation3(const vctQuaternionRotation3Base< __containerType > &quaternionRotation)
Definition: vctRodriguezRotation3.h:114
Implementation of a fixed-size vector using template metaprogramming.
Definition: vctFixedSizeVector.h:52
Define a rotation based on an axis and an angle for a space of dimension 3.
Definition: vctAxisAngleRotation3.h:94
ThisType & From(const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector)
Definition: vctRodriguezRotation3Base.h:126
vctRodriguezRotation3(const vctQuaternionRotation3Base< __containerType > &quaternionRotation, bool normalizeInput)
Definition: vctRodriguezRotation3.h:195
vctRodriguezRotation3(value_type x, value_type y, value_type z, bool normalizeInput)
Definition: vctRodriguezRotation3.h:183
vctRodriguezRotation3(value_type x, value_type y, value_type z)
Definition: vctRodriguezRotation3.h:105
vctRodriguezRotation3(const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &axis)
Definition: vctRodriguezRotation3.h:96
Define a rotation based on the rodriguez representation for a space of dimension 3. This representation is based on a vector. The direction of the vector determines the axis of rotation and its norm defines the amplitude of the rotation.
Definition: vctForwardDeclarations.h:216
Define a rotation matrix for a space of dimension 3.
Definition: vctForwardDeclarations.h:199
Declaration of vctRodriguezRotation3Base.
vctRodriguezRotation3()
Definition: vctRodriguezRotation3.h:63
vctRodriguezRotation3Base< ContainerType > BaseType
Definition: vctRodriguezRotation3.h:55
A template for a fixed length vector with fixed spacing in memory.
Definition: vctFixedSizeConstVectorBase.h:107
Define a rotation quaternion for a space of dimension 3.
Definition: vctForwardDeclarations.h:208
vctRodriguezRotation3(const ThisType &other)
Definition: vctRodriguezRotation3.h:67
Macros to export the symbols of cisstVector (in a Dll).
A collection of useful information about the C++ basic types, represented in a generic programming wa...
Definition: cmnTypeTraits.h:155
ThisType & FromNormalized(const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector)
Definition: vctRodriguezRotation3Base.h:177
vctRodriguezRotation3(const vctMatrixRotation3Base< __containerType > &matrixRotation, bool normalizeInput)
Definition: vctRodriguezRotation3.h:207
vctRodriguezRotation3(const vctAxisAngleRotation3< value_type > &axisAngleRotation)
Definition: vctRodriguezRotation3.h:131
Define a rotation based on the rodriguez representation for a space of dimension 3.
Definition: vctForwardDeclarations.h:214
Definition: vctRodriguezRotation3.h:53