cisst-saw
Loading...
Searching...
No Matches
vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride > Class Template Reference

Define a rotation matrix for a space of dimension 3. More...

#include <vctMatrixRotation3ConstRef.h>

Inheritance diagram for vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >:
vctMatrixRotation3Base< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > > vctMatrixRotation3ConstBase< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > > vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride >

Public Types

enum  { ROWS = 3 , COLS = 3 }
enum  { DIMENSION = 3 }
typedef vctFixedSizeConstMatrixRef< value_type, ROWS, COLS, _rowStride, _colStride > ContainerType
typedef vctMatrixRotation3Base< ContainerTypeBaseType
typedef vctMatrixRotation3ConstRef< value_type, _rowStride, _colStride > ThisType
typedef cmnTypeTraits< value_typeTypeTraits
Public Types inherited from vctMatrixRotation3Base< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
enum  
enum  
typedef vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > ContainerType
typedef vctMatrixRotation3ConstBase< ContainerTypeBaseType
typedef vctMatrixRotation3Base< ContainerTypeThisType
typedef vctMatrixRotation3Base< typename ContainerType::MatrixValueType > RotationValueType
typedef cmnTypeTraits< value_typeTypeTraits
Public Types inherited from vctMatrixRotation3ConstBase< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
enum  
enum  
typedef vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > BaseType
typedef vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > ContainerType
typedef vctMatrixRotation3ConstBase< ContainerTypeThisType
typedef vctMatrixRotation3< value_typeRotationValueType
typedef cmnTypeTraits< value_typeTypeTraits

Public Member Functions

 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 vctMatrixRotation3ConstRef (void)
 vctMatrixRotation3ConstRef (const BaseType &other)
template<class __containerType>
 vctMatrixRotation3ConstRef (const vctMatrixRotation3ConstBase< __containerType > &other)
Public Member Functions inherited from vctMatrixRotation3Base< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
vctMatrixRotation3Base< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > > & FromRaw (const vctAxisAngleRotation3< typename vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride >::value_type > &axisAngleRotation)
 VCT_CONTAINER_TRAITS_TYPEDEFS (typename ContainerType::value_type)
 vctMatrixRotation3Base ()
ThisTypeFrom (const vctMatrixRotation3Base< __containerType > &other) CISST_THROW(std
ThisTypeFromNormalized (const vctMatrixRotation3Base< __containerType > &other) CISST_THROW(std
ThisTypeNormalizedSelf (void)
ThisTypeNormalizedOf (ThisType &otherMatrix)
ThisTypeInverseSelf (void)
ThisTypeInverseOf (const ThisType &otherRotation)
Public Member Functions inherited from vctMatrixRotation3ConstBase< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
 VCT_CONTAINER_TRAITS_TYPEDEFS (typename ContainerType::value_type)
RotationValueType Normalized (void) const
bool IsNormalized (value_type tolerance=TypeTraits::Tolerance()) const
RotationValueType Inverse (void) const
void ApplyTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride1, value_type, __dataPtrType1 > &input, vctFixedSizeVectorBase< DIMENSION, __stride2, value_type, __dataPtrType2 > &output) const
void ApplyInverseTo (const vctFixedSizeConstVectorBase< DIMENSION, __stride1, value_type, __dataPtrType1 > &input, vctFixedSizeVectorBase< DIMENSION, __stride2, value_type, __dataPtrType2 > &output) const
RotationValueType operator* (const ThisType &input) const
bool AlmostEquivalent (const ThisType &other, value_type tolerance=TypeTraits::Tolerance()) const

Additional Inherited Members

Static Public Member Functions inherited from vctMatrixRotation3ConstBase< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
static CISST_EXPORT const RotationValueTypeIdentity ()
Protected Member Functions inherited from vctMatrixRotation3ConstBase< vctFixedSizeConstMatrixRef< _elementType, 3, 3, _rowStride, _colStride > >
void ThrowUnlessIsNormalized (void) const CISST_THROW(std

Detailed Description

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
class vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >

Define a rotation matrix for a space of dimension 3.

This class is templated by the element type. It is derived from vctMatrixRotation3Base and uses a vctFixedSizeMatrix as underlying container. It provides a more humain interface for programmers only interested in templating by _elementType.

Parameters
_elementTypeThe type of elements of the matrix.
See also
vctMatrixRotation3Base vctFixedSizeMatrix

Member Typedef Documentation

◆ BaseType

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctMatrixRotation3Base<ContainerType> vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::BaseType

◆ ContainerType

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctFixedSizeConstMatrixRef<value_type, ROWS, COLS, _rowStride, _colStride> vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::ContainerType

◆ ThisType

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctMatrixRotation3ConstRef<value_type, _rowStride, _colStride> vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::ThisType

◆ TypeTraits

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef cmnTypeTraits<value_type> vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::TypeTraits

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

Member Enumeration Documentation

◆ anonymous enum

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
anonymous enum
Enumerator
ROWS 
COLS 

◆ anonymous enum

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
anonymous enum
Enumerator
DIMENSION 

Constructor & Destructor Documentation

◆ vctMatrixRotation3ConstRef() [1/3]

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::vctMatrixRotation3ConstRef ( void )
inline

Default constructor. Sets the rotation matrix to identity.

◆ vctMatrixRotation3ConstRef() [2/3]

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::vctMatrixRotation3ConstRef ( const BaseType & other)
inline

◆ vctMatrixRotation3ConstRef() [3/3]

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
template<class __containerType>
vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::vctMatrixRotation3ConstRef ( const vctMatrixRotation3ConstBase< __containerType > & other)
inline

Member Function Documentation

◆ VCT_CONTAINER_TRAITS_TYPEDEFS()

template<class _elementType, vct::stride_type _rowStride, vct::stride_type _colStride>
vctMatrixRotation3ConstRef< _elementType, _rowStride, _colStride >::VCT_CONTAINER_TRAITS_TYPEDEFS ( _elementType )

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