|
| VCT_CONTAINER_TRAITS_TYPEDEFS (typename ContainerType::value_type) |
|
| vctQuaternionRotation3Base (void) |
|
| vctQuaternionRotation3Base (const ThisType &quaternionRotation) |
|
ThisType & | From (const ThisType &otherRotation) |
|
ThisType & | NormalizedOf (const ThisType &otherQuaternion) |
|
ThisType & | NormalizedSelf (void) |
|
ThisType | Normalized (void) const |
|
ThisType & | InverseSelf (void) |
|
ThisType & | InverseOf (const ThisType &otherRotation) |
|
ThisType | Inverse (void) const |
|
template<stride_type __stride1, class __dataPtrType1 , stride_type __stride2, class __dataPtrType2 > |
void | ApplyTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride1, value_type, __dataPtrType1 > &input, vctFixedSizeVectorBase< DIMENSION, __stride2, value_type, __dataPtrType2 > &output) const |
|
template<class __vectorOwnerType , stride_type __stride, class __dataPtrType > |
void | ApplyTo (const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &input, vctFixedSizeVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &output) const |
|
template<stride_type __stride, class __dataPtrType > |
vctFixedSizeVector< value_type,
DIMENSION > | ApplyTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &input) const |
|
template<class __vectorOwnerType > |
vctFixedSizeVector< value_type,
DIMENSION > | ApplyTo (const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &input) const |
|
template<size_type __cols, stride_type __rowStride1, stride_type __colStride1, class __dataPtrType1 , stride_type __rowStride2, stride_type __colStride2, class __dataPtrType2 > |
void | ApplyTo (const vctFixedSizeConstMatrixBase< DIMENSION, __cols, __rowStride1, __colStride1, value_type, __dataPtrType1 > &input, vctFixedSizeMatrixBase< DIMENSION, __cols, __rowStride2, __colStride2, value_type, __dataPtrType2 > &output) const |
|
template<class __matrixOwnerType1 , class __matrixOwnerType2 > |
void | ApplyTo (const vctDynamicConstMatrixBase< __matrixOwnerType1, value_type > &input, vctDynamicMatrixBase< __matrixOwnerType2, value_type > &output) const |
|
void | ApplyTo (const ThisType &input, ThisType &output) const |
|
ThisType | ApplyTo (const ThisType &input) const |
|
template<class _vectorOwnerType1 , class _vectorOwnerType2 > |
void | ApplyTo (const vctDynamicConstVectorBase< _vectorOwnerType1, value_type > &input, vctDynamicVectorBase< _vectorOwnerType2, value_type > &output) const |
|
template<stride_type __stride1, class __dataPtrType1 , stride_type __stride2, class __dataPtrType2 > |
void | ApplyInverseTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride1, value_type, __dataPtrType1 > &input, vctFixedSizeVectorBase< DIMENSION, __stride2, value_type, __dataPtrType2 > &output) const |
|
template<class __vectorOwnerType , stride_type __stride, class __dataPtrType > |
void | ApplyInverseTo (const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &input, vctFixedSizeVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &output) const |
|
template<stride_type __stride, class __dataPtrType > |
vctFixedSizeVector< value_type,
DIMENSION > | ApplyInverseTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &input) const |
|
template<class __vectorOwnerType > |
vctFixedSizeVector< value_type,
DIMENSION > | ApplyInverseTo (const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &input) const |
|
template<size_type __cols, stride_type __rowStride1, stride_type __colStride1, class __dataPtrType1 , stride_type __rowStride2, stride_type __colStride2, class __dataPtrType2 > |
void | ApplyInverseTo (const vctFixedSizeConstMatrixBase< DIMENSION, __cols, __rowStride1, __colStride1, value_type, __dataPtrType1 > &input, vctFixedSizeMatrixBase< DIMENSION, __cols, __rowStride2, __colStride2, value_type, __dataPtrType2 > &output) const |
|
void | ApplyInverseTo (const ThisType &input, ThisType &output) const |
|
ThisType | ApplyInverseTo (const ThisType &input) const |
|
template<class _vectorOwnerType1 , class _vectorOwnerType2 > |
void | ApplyInverseTo (const vctDynamicConstVectorBase< _vectorOwnerType1, value_type > &input, vctDynamicVectorBase< _vectorOwnerType2, value_type > &output) const |
|
template<class __matrixOwnerType1 , class __matrixOwnerType2 > |
void | ApplyInverseTo (const vctDynamicConstMatrixBase< __matrixOwnerType1, value_type > &input, vctDynamicMatrixBase< __matrixOwnerType2, value_type > &output) const |
|
bool | AlmostEquivalent (const ThisType &other, value_type tolerance=TypeTraits::Tolerance()) const |
|
ThisType | operator* (const ThisType &input) const |
|
|
These constructors will check that the input is valid, i.e. normalized. If the input is not normalized, an exception (of type std::runtime_error ) will be thrown. Each constructor uses the corresponding From() method based on the input type.
- Note
- See the cmnThrow() function if an
abort is better than an exception for your application.
|
| vctQuaternionRotation3Base (const value_type &x, const value_type &y, const value_type &z, const value_type &r) throw (std::runtime_error) |
|
template<class __containerType > |
| vctQuaternionRotation3Base (const vctMatrixRotation3Base< __containerType > &matrixRotation) throw (std::runtime_error) |
|
| vctQuaternionRotation3Base (const vctAxisAngleRotation3< value_type > &axisAngleRotation) throw (std::runtime_error) |
|
template<class __containerType > |
| vctQuaternionRotation3Base (const vctRodriguezRotation3Base< __containerType > &rodriguezRotation) throw (std::runtime_error) |
|
|
These constructors will either assume that the input is normalized or normalize the input (a copy of it, if required) based on the last parameter provided.
-
If the normalization flag is set to VCT_DO_NOT_NORMALIZE, the input is considered already normalized and the constructor will not perform any sanity check. This can lead to numerical instabilities which have to be handled by the caller.
-
If the normalization flag is set to VCT_NORMALIZE, the input will be normalized. This option should be used whenever it is important to obtain a result as "normalized" as possible.
|
| vctQuaternionRotation3Base (const ThisType &quaternionRotation, bool normalizeInput) |
|
| vctQuaternionRotation3Base (const value_type &x, const value_type &y, const value_type &z, const value_type &r, bool normalizeInput) |
|
template<class __containerType > |
| vctQuaternionRotation3Base (const vctMatrixRotation3Base< __containerType > &matrixRotation, bool normalizeInput) |
|
| vctQuaternionRotation3Base (const vctAxisAngleRotation3< value_type > &axisAngleRotation, bool normalizeInput) |
|
template<class __containerType > |
| vctQuaternionRotation3Base (const vctRodriguezRotation3Base< __containerType > &rodriguezRotation, bool normalizeInput) |
|
|
These methods will check that the input is normalized. If the input is not normalized, an exception (std::runtime_error ) will be thrown using cmnThrow().
- Note
- Since all exceptions are thrown using cmnThrow(), it is possible to configure these methods to use
abort() if the normalization requirements are not met (see cmnThrow()).
|
ThisType & | From (value_type x, value_type y, value_type z, value_type r) throw (std::runtime_error) |
|
ThisType & | From (const vctAxisAngleRotation3< value_type > axisAngleRotation) throw (std::runtime_error) |
|
template<class __containerType > |
ThisType & | From (const vctRodriguezRotation3Base< __containerType > &rodriguezRotation) throw (std::runtime_error) |
|
template<class __containerType > |
ThisType & | From (const vctMatrixRotation3Base< __containerType > &matrixRotation) throw (std::runtime_error) |
|
|
These method will accept any input and attempt to either normalize the input and then convert or convert and then normalize the quaternion itself.
The order depends on the type of input.
|
template<class __containerType > |
ThisType & | FromNormalized (const vctQuaternionRotation3Base< __containerType > &other) |
|
ThisType & | FromNormalized (value_type x, value_type y, value_type z, value_type r) |
|
ThisType & | FromNormalized (const vctAxisAngleRotation3< value_type > axisAngleRotation) |
|
template<class __containerType > |
ThisType & | FromNormalized (const vctRodriguezRotation3Base< __containerType > &rodriguezRotation) |
|
template<class __containerType > |
ThisType & | FromNormalized (const vctMatrixRotation3Base< __containerType > &matrixRotation) |
|
|
These method don't check if the input is normalized nor try to normalize the results. They should be used with caution since the resulting rotation (in this case a quaternion) might not be normalized.
|
template<class __containerType > |
ThisType & | FromRaw (const vctQuaternionRotation3Base< __containerType > &other) |
|
ThisType & | FromRaw (value_type x, value_type y, value_type z, value_type r) |
|
ThisType & | FromRaw (const vctAxisAngleRotation3< value_type > axisAngleRotation) |
|
template<class __containerType > |
ThisType & | FromRaw (const vctRodriguezRotation3Base< __containerType > &rodriguezRotation) |
|
template<class __containerType > |
ThisType & | FromRaw (const vctMatrixRotation3Base< __containerType > &matrixRotation) |
|
|
template<stride_type __stride, class __dataPtrType > |
CISST_DEPRECATED const ThisType & | From (const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &axis, const AngleType &angle) |
|
template<stride_type __stride, class __dataPtrType > |
CISST_DEPRECATED const ThisType & | From (const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &rodriguezRotation) |
|
template<stride_type __stride, class __dataPtrType > |
CISST_DEPRECATED void | GetAxisAngle (vctFixedSizeVectorBase< 3, __stride, value_type, __dataPtrType > &axis, value_type &angle) |
|
| VCT_CONTAINER_TRAITS_TYPEDEFS (typename ContainerType::value_type) |
|
| vctQuaternionBase (void) |
|
| vctQuaternionBase (const value_type &x, const value_type &y, const value_type &z, const value_type &r) |
|
const_reference | R (void) const |
|
reference | R (void) |
|
template<class __containerTypeOther > |
ThisType & | ConjugateOf (const vctQuaternionBase< __containerTypeOther > &otherQuaternion) |
|
ThisType & | ConjugateSelf (void) |
|
ThisType | Conjugate (void) const |
|
template<class __containerType1 , class __containerType2 > |
ThisType & | ProductOf (const vctQuaternionBase< __containerType1 > &quat1, const vctQuaternionBase< __containerType2 > &quat2) |
|
template<class __containerType1 , class __containerType2 > |
ThisType & | QuotientOf (const vctQuaternionBase< __containerType1 > &quat1, const vctQuaternionBase< __containerType2 > &quat2) |
|
template<class __containerTypeOther > |
ThisType & | PostMultiply (const vctQuaternionBase< __containerTypeOther > &other) |
|
template<class __containerTypeOther > |
ThisType & | PreMultiply (const vctQuaternionBase< __containerTypeOther > &other) |
|
template<class __containerTypeOther > |
ThisType & | Divide (const vctQuaternionBase< __containerTypeOther > &other) |
|
ThisType & | Divide (const value_type s) |
|