cisst-saw
Loading...
Searching...
No Matches
vctRodriguezRotation3< _elementType > Class Template Reference

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. More...

#include <vctRodriguezRotation3.h>

Inheritance diagram for vctRodriguezRotation3< _elementType >:
vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > > vctFixedSizeVector< _elementType, 3 > vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array > vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >

Public Types

enum  { DIMENSION = 3 }
typedef vctFixedSizeVector< value_type, 3 > ContainerType
typedef vctRodriguezRotation3Base< ContainerTypeBaseType
typedef vctRodriguezRotation3< value_typeThisType
typedef cmnTypeTraits< value_typeTypeTraits
Public Types inherited from vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >
enum  
typedef vctFixedSizeVector< _elementType, 3 > BaseType
typedef vctFixedSizeVector< _elementType, 3 > ContainerType
typedef vctRodriguezRotation3Base< ContainerTypeThisType
typedef cmnTypeTraits< value_typeTypeTraits
Public Types inherited from vctFixedSizeVector< _elementType, 3 >
enum  
typedef vctFixedSizeVectorTraits< _elementType, _size, 1 > VectorTraits
typedef vctFixedSizeVector< value_type, _size > ThisType
typedef vctFixedSizeVectorBase< _size, 1, _elementType, typename VectorTraits::arrayBaseType
typedef BaseType::CopyType CopyType
typedef class cmnTypeTraits< value_typeTypeTraits
typedef TypeTraits::VaArgPromotion ElementVaArgPromotion
Public Types inherited from vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
enum  
enum  
enum  
typedef vctFixedSizeVectorTraits< _elementType, _size, _stride > VectorTraits
typedef vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array > ThisType
typedef vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array > BaseType
typedef BaseType::CopyType CopyType
typedef cmnTypeTraits< value_typeTypeTraits
typedef VectorTraits::iterator iterator
typedef VectorTraits::const_iterator const_iterator
typedef VectorTraits::reverse_iterator reverse_iterator
typedef VectorTraits::const_reverse_iterator const_reverse_iterator
typedef BaseType::RowConstMatrixRefType RowConstMatrixRefType
typedef BaseType::RowMatrixRefType RowMatrixRefType
typedef BaseType::ColConstMatrixRefType ColConstMatrixRefType
typedef BaseType::ColMatrixRefType ColMatrixRefType
Public Types inherited from vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
enum  
enum  
typedef vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array > ThisType
typedef vctFixedSizeVectorTraits< _elementType, _size, _stride > VectorTraits
typedef VectorTraits::iterator iterator
typedef VectorTraits::const_iterator const_iterator
typedef VectorTraits::reverse_iterator reverse_iterator
typedef VectorTraits::const_reverse_iterator const_reverse_iterator
typedef vctFixedSizeConstMatrixRef< _elementType, 1, _size, _stride *_size, _stride > RowConstMatrixRefType
typedef vctFixedSizeMatrixRef< _elementType, 1, _size, _stride *_size, _stride > RowMatrixRefType
typedef vctFixedSizeConstMatrixRef< _elementType, _size, 1, _stride, _stride *_size > ColConstMatrixRefType
typedef vctFixedSizeMatrixRef< _elementType, _size, 1, _stride, _stride *_size > ColMatrixRefType
typedef vctFixedSizeVector< _elementType, _size > VectorValueType
typedef vctFixedSizeVector< _elementType, _size > CopyType
typedef vctFixedSizeVector< bool, _size > BoolVectorValueType

Public Member Functions

 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 vctRodriguezRotation3 ()
 vctRodriguezRotation3 (const ThisType &other)
 vctRodriguezRotation3 (const BaseType &other)
Constructors with normalization test.

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.
template<stride_type __stride, class __dataPtrType>
 vctRodriguezRotation3 (const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &axis) CISST_THROW(std
 vctRodriguezRotation3 (value_type x, value_type y, value_type z) CISST_THROW(std
template<class __containerType>
 vctRodriguezRotation3 (const vctQuaternionRotation3Base< __containerType > &quaternionRotation) CISST_THROW(std
template<class __containerType>
 vctRodriguezRotation3 (const vctMatrixRotation3Base< __containerType > &matrixRotation) CISST_THROW(std
 vctRodriguezRotation3 (const vctAxisAngleRotation3< value_type > &axisAngleRotation) CISST_THROW(std
Constructors without normalization test

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.

template<stride_type __stride, class __dataPtrType>
 vctRodriguezRotation3 (const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > &axis, bool normalizeInput)
 vctRodriguezRotation3 (value_type x, value_type y, value_type z, bool normalizeInput)
template<class __containerType>
 vctRodriguezRotation3 (const vctQuaternionRotation3Base< __containerType > &quaternionRotation, bool normalizeInput)
template<class __containerType>
 vctRodriguezRotation3 (const vctMatrixRotation3Base< __containerType > &matrixRotation, bool normalizeInput)
 vctRodriguezRotation3 (const vctAxisAngleRotation3< value_type > &axisAngleRotation, bool normalizeInput)
Public Member Functions inherited from vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >
 VCT_CONTAINER_TRAITS_TYPEDEFS (typename ContainerType::value_type)
 vctRodriguezRotation3Base ()
ThisTypeFrom (const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector) CISST_THROW(std
ThisTypeFromNormalized (const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector)
ThisTypeFromRaw (const vctFixedSizeConstVectorBase< 3, __stride, value_type, __dataPtrType > &vector)
ThisTypeInverseSelf (void)
ThisTypeInverseOf (const ThisType &otherRotation)
ThisType Inverse (void) const
ThisTypeNormalizedSelf (void)
ThisTypeNormalizedOf (const ThisType &otherRotation)
ThisType Normalized (void) const
bool IsNormalized (value_type CMN_UNUSED(tolerance)=TypeTraits::Tolerance()) const
bool AlmostEquivalent (const ThisType &other, value_type tolerance=TypeTraits::Tolerance()) const
Public Member Functions inherited from vctFixedSizeVector< _elementType, 3 >
 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 vctFixedSizeVector ()
ThisTypeoperator= (const ThisType &other)
bool FromStreamRaw (std::istream &inputStream, const char delimiter=' ')
void DeSerializeRaw (std::istream &inputStream)
Public Member Functions inherited from vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
iterator begin (void)
iterator end (void)
reverse_iterator rbegin (void)
reverse_iterator rend (void)
reference operator[] (size_type index)
reference at (size_type index) CISST_THROW(std
reference operator() (size_type index) CISST_THROW(std
reference Element (size_type index)
pointer Pointer (size_type index=0)
value_type SetAll (const value_type &value)
bool Zeros (void)
ThisTypeAssign (const vctFixedSizeConstVectorBase< _size, __stride, __elementType, __dataPtrType > &other)
ThisTypeoperator= (const vctFixedSizeConstVectorBase< _size, __stride, __elementType, __dataPtrType > &other)
ThisTypeForceAssign (const vctFixedSizeConstVectorBase< _size, __stride, __elementType, __dataPtrType > &other)
bool FastCopyOf (const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &source, bool performSafetyChecks=true) CISST_THROW(std
ThisTypeConcatenationOf (const vctFixedSizeConstVectorBase< SIZEMINUSONE, __stride, __elementTypeVector, __dataPtrType > &other, __elementType last)
value_typeX (void)
value_typeY (void)
value_typeZ (void)
value_typeW (void)
vctFixedSizeVectorRef< _elementType, 2, _stride > XY (void)
vctFixedSizeVectorRef< _elementType, 2, 2 *_stride > XZ (void)
vctFixedSizeVectorRef< _elementType, 2, 3 *_stride > XW (void)
vctFixedSizeVectorRef< _elementType, 2, _stride > YZ (void)
vctFixedSizeVectorRef< _elementType, 2, 2 *_stride > YW (void)
vctFixedSizeVectorRef< _elementType, 2, _stride > ZW (void)
vctFixedSizeVectorRef< _elementType, 3, _stride > XYZ (void)
vctFixedSizeVectorRef< _elementType, 3, _stride > YZW (void)
vctFixedSizeVectorRef< _elementType, 4, _stride > XYZW (void)
RowConstMatrixRefType AsRowMatrix (void) const
ColConstMatrixRefType AsColMatrix (void) const
vctFixedSizeConstVectorRef< _elementType, __subSize, _stride > Ref (const size_type startPosition=0) const CISST_THROW(std
void SelectFrom (const vctFixedSizeConstVectorBase< __inputSize, __inputStride, _elementType, __inputDataPtrType > &input, const vctFixedSizeConstVectorBase< _size, __indexStride, index_type, __indexDataPtrType > &index)
void CrossProductOf (const vctFixedSizeConstVectorBase< 3, __stride1, _elementType, __dataPtr1Type > &inputVector1, const vctFixedSizeConstVectorBase< 3, __stride2, _elementType, __dataPtr2Type > &inputVector2)
ThisTypeSumOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeDifferenceOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeElementwiseProductOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeElementwiseRatioOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeElementwiseMinOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeElementwiseMaxOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeAdd (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeSubtract (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeElementwiseMultiply (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeElementwiseDivide (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeElementwiseMin (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeElementwiseMax (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeoperator+= (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeoperator-= (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeSwapElementsWith (vctFixedSizeVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeProductOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &vector, const value_type scalar)
ThisTypeRatioOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &vector, const value_type scalar)
ThisTypeClippedAboveOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &vector, const value_type upperBound)
ThisTypeClippedBelowOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &vector, const value_type lowerBound)
ThisTypeMultiply (const value_type scalar)
ThisTypeDivide (const value_type scalar)
ThisTypeClipAbove (const value_type upperBound)
ThisTypeClipBelow (const value_type lowerBound)
ThisTypeoperator*= (const value_type scalar)
ThisTypeoperator/= (const value_type scalar)
ThisTypeAddProductOf (const value_type scalar, const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeAddElementwiseProductOf (const vctFixedSizeConstVectorBase< _size, __stride1, value_type, __dataPtrType1 > &vector1, const vctFixedSizeConstVectorBase< _size, __stride2, value_type, __dataPtrType2 > &vector2)
ThisTypeAbsOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeNegationOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeFloorOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeCeilOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector)
ThisTypeNormalizedOf (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) CISST_THROW(std
ThisTypeAbsSelf (void)
ThisTypeNegationSelf (void)
ThisTypeFloorSelf (void)
ThisTypeCeilSelf (void)
ThisTypeNormalizedSelf (void) CISST_THROW(std
Public Member Functions inherited from vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
const_iterator begin (void) const
const_iterator end (void) const
const_reverse_iterator rbegin (void) const
const_reverse_iterator rend (void) const
size_type size (void) const
size_type max_size (void) const
difference_type stride (void) const
bool empty (void) const
const_reference operator[] (size_type index) const
const_reference at (size_type index) const CISST_THROW(std
const_reference operator() (size_type index) const CISST_THROW(std
const_reference Element (size_type index) const
const_pointer Pointer (size_type index=0) const
bool ValidIndex (size_type index) const
const value_typeX (void) const
const value_typeY (void) const
const value_typeZ (void) const
const value_typeW (void) const
vctFixedSizeConstVectorRef< _elementType, 2, _stride > XY (void) const
vctFixedSizeConstVectorRef< _elementType, 2, 2 *_stride > XZ (void) const
vctFixedSizeConstVectorRef< _elementType, 2, 3 *_stride > XW (void) const
vctFixedSizeConstVectorRef< _elementType, 2, _stride > YZ (void) const
vctFixedSizeConstVectorRef< _elementType, 2, 2 *_stride > YW (void) const
vctFixedSizeConstVectorRef< _elementType, 2, _stride > ZW (void) const
vctFixedSizeConstVectorRef< _elementType, 3, _stride > XYZ (void) const
vctFixedSizeConstVectorRef< _elementType, 3, _stride > YZW (void) const
vctFixedSizeConstVectorRef< _elementType, 4, _stride > XYZW (void) const
RowConstMatrixRefType AsRowMatrix (void) const
ColConstMatrixRefType AsColMatrix (void) const
vctFixedSizeConstVectorRef< _elementType, __subSize, _stride > Ref (const size_type startPosition=0) const CISST_THROW(std
value_type SumOfElements (void) const
value_type ProductOfElements (void) const
value_type NormSquare (void) const
NormType Norm (void) const
bool IsNormalized (_elementType tolerance=cmnTypeTraits< _elementType >::Tolerance()) const
value_type L1Norm (void) const
value_type LinfNorm (void) const
value_type MaxElement (void) const
value_type MinElement (void) const
value_type MaxAbsElement (void) const
value_type MinAbsElement (void) const
void MinAndMaxElement (value_type &minElement, value_type &maxElement) const
bool IsPositive (void) const
bool IsNonNegative (void) const
bool IsNonPositive (void) const
bool IsNegative (void) const
bool All (void) const
bool Any (void) const
bool IsFinite (void) const
bool HasNaN (void) const
bool IsCompact (void) const
bool IsFortran (void) const
bool FastCopyCompatible (const vctFixedSizeConstVectorBase< __size, __stride, value_type, __dataPtrType > &source) const
value_type DotProduct (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool Equal (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool operator== (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool AlmostEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector, value_type tolerance) const
bool NotEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool operator!= (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool Lesser (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool LesserOrEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool Greater (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
bool GreaterOrEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseNotEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseLesser (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseLesserOrEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseGreater (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
BoolVectorValueType ElementwiseGreaterOrEqual (const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &otherVector) const
VectorValueType Abs (void) const
VectorValueType Negation (void) const
VectorValueType Floor (void) const
VectorValueType Ceil (void) const
VectorValueType Normalized(void) const CISST_THROW(std void ToStream (std::ostream &outputStream) const
void ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
void SerializeRaw (std::ostream &outputStream) const

Additional Inherited Members

Static Public Member Functions inherited from vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >
static CISST_EXPORT const ThisTypeIdentity ()
Protected Member Functions inherited from vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >
void ThrowUnlessIsNormalized (void) const CISST_THROW(std
Protected Member Functions inherited from vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
void ThrowUnlessValidIndex (size_type index) const CISST_THROW(std
Protected Attributes inherited from vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >
vctFixedSizeVectorTraits< _elementType, _size, 1 >::array Data

Detailed Description

template<class _elementType>
class vctRodriguezRotation3< _elementType >

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.

This class is templated by the element type.

Parameters
_elementTypeThe type of elements.
See also
vctQuaternion

Member Typedef Documentation

◆ BaseType

template<class _elementType>
typedef vctRodriguezRotation3Base<ContainerType> vctRodriguezRotation3< _elementType >::BaseType

◆ ContainerType

template<class _elementType>
typedef vctFixedSizeVector<value_type, 3> vctRodriguezRotation3< _elementType >::ContainerType

◆ ThisType

template<class _elementType>
typedef vctRodriguezRotation3<value_type> vctRodriguezRotation3< _elementType >::ThisType

◆ TypeTraits

template<class _elementType>
typedef cmnTypeTraits<value_type> vctRodriguezRotation3< _elementType >::TypeTraits

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

Member Enumeration Documentation

◆ anonymous enum

template<class _elementType>
anonymous enum
Enumerator
DIMENSION 

Constructor & Destructor Documentation

◆ vctRodriguezRotation3() [1/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( )
inline

Default constructor. Sets the rotation to (0, 0, 0).

◆ vctRodriguezRotation3() [2/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const ThisType & other)
inline

◆ vctRodriguezRotation3() [3/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const BaseType & other)
inline

◆ vctRodriguezRotation3() [4/13]

template<class _elementType>
template<stride_type __stride, class __dataPtrType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > & axis)
inlineexplicit

Constructor from a 3D vector.

Parameters
axisA vector of size 3, its norm represents the angle.

◆ vctRodriguezRotation3() [5/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( value_type x,
value_type y,
value_type z )
inline

Constructor from a elements representing a 3D vector.

Parameters
x,y,zA vector of size 3, its norm represents the angle.

◆ vctRodriguezRotation3() [6/13]

template<class _elementType>
template<class __containerType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctQuaternionRotation3Base< __containerType > & quaternionRotation)
inlineexplicit

Constructor from a vctQuaternionRotation3.

◆ vctRodriguezRotation3() [7/13]

template<class _elementType>
template<class __containerType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctMatrixRotation3Base< __containerType > & matrixRotation)
inlineexplicit

Constructor from a vctMatrixRotation3.

◆ vctRodriguezRotation3() [8/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctAxisAngleRotation3< value_type > & axisAngleRotation)
inlineexplicit

Constructor from a vctAxisAngleRotation3.

◆ vctRodriguezRotation3() [9/13]

template<class _elementType>
template<stride_type __stride, class __dataPtrType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctFixedSizeConstVectorBase< DIMENSION, __stride, value_type, __dataPtrType > & axis,
bool normalizeInput )
inline

Constructor from a 3D vector.

Parameters
axisA vector of size 3, its norm represents the angle.
normalizeInputNormalize the input or convert as is (VCT_NORMALIZE or VCT_DO_NOT_NORMALIZE)

◆ vctRodriguezRotation3() [10/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( value_type x,
value_type y,
value_type z,
bool normalizeInput )
inline

Constructor from 3 elements representing a 3D vector.

Parameters
x,y,zA vector of size 3, its norm represents the angle.
normalizeInputNormalize the input or convert as is (VCT_NORMALIZE or VCT_DO_NOT_NORMALIZE)

◆ vctRodriguezRotation3() [11/13]

template<class _elementType>
template<class __containerType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctQuaternionRotation3Base< __containerType > & quaternionRotation,
bool normalizeInput )
inline

Constructor from a vctQuaternionRotation3.

◆ vctRodriguezRotation3() [12/13]

template<class _elementType>
template<class __containerType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctMatrixRotation3Base< __containerType > & matrixRotation,
bool normalizeInput )
inline

Constructor from a vctMatrixRotation3.

◆ vctRodriguezRotation3() [13/13]

template<class _elementType>
vctRodriguezRotation3< _elementType >::vctRodriguezRotation3 ( const vctAxisAngleRotation3< value_type > & axisAngleRotation,
bool normalizeInput )
inline

Constructor from a vctAxisAngleRotation3.

Member Function Documentation

◆ VCT_CONTAINER_TRAITS_TYPEDEFS()

template<class _elementType>
vctRodriguezRotation3< _elementType >::VCT_CONTAINER_TRAITS_TYPEDEFS ( _elementType )

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