ERC CISST - cisst software

vctFrame4x4< _elementType, _rowMajor > Class Template Reference

#include <vctFrame4x4.h>

Inheritance diagram for vctFrame4x4< _elementType, _rowMajor >:

Inheritance graph
[legend]
Collaboration diagram for vctFrame4x4< _elementType, _rowMajor >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType, bool _rowMajor>
class vctFrame4x4< _elementType, _rowMajor >

Template base class for a 4x4 frame.

This class allows to use a 4 by 4 matrix as a frame in 3D. This is a limited case of the so called homegenous transformations as this class is intended to support only the translation and rotation parts of the transformation. It is not intended to support perspective or scaling operations. The different constructors and normalization methods provided will set the last row to [0 0 0 1].

Parameters:
_matrixType The type of matrix used to store the elements
See also:
vctDynamicMatrix, vctFixedSizeMatrix, vctFrameBase

Definition at line 50 of file vctFrame4x4.h.

Public Types

Public Member Functions

Public Attributes


Member Typedef Documentation

template<class _elementType, bool _rowMajor>
typedef vctFrame4x4Base<ContainerType> vctFrame4x4< _elementType, _rowMajor >::BaseType

Type of the base class

Reimplemented from vctFrame4x4Base< vctFixedSizeMatrix< _elementType, 4, 4, _rowMajor > >.

Definition at line 61 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
typedef vctFrame4x4<value_type, _rowMajor> vctFrame4x4< _elementType, _rowMajor >::ThisType

Type of the matrix itself.

Reimplemented from vctFrame4x4Base< vctFixedSizeMatrix< _elementType, 4, 4, _rowMajor > >.

Definition at line 62 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
typedef cmnTypeTraits<value_type> vctFrame4x4< _elementType, _rowMajor >::TypeTraits

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

Reimplemented from vctFrame4x4Base< vctFixedSizeMatrix< _elementType, 4, 4, _rowMajor > >.

Definition at line 65 of file vctFrame4x4.h.


Constructor & Destructor Documentation

template<class _elementType, bool _rowMajor>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( void   )  [inline]

Default constructor. Sets the matrix to identity.

Definition at line 72 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( const ThisType other  )  [inline]

Copy constructor. Uses Assign.

Definition at line 79 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
template<bool __rowMajor>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( const vctFrame4x4< value_type, __rowMajor > &  other  )  [inline]

Copy constructor with different storage order, uses Assign

Definition at line 91 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
template<class __containerType>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( const vctFrame4x4ConstBase< __containerType > &  other  )  [inline]

Copy constructor from vctFrame4x4ConstBase with a different container type. Uses Assign.

Definition at line 106 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( const ContainerType other  )  [inline]

Copy constructor from ContainerType. Uses Assign.

Definition at line 119 of file vctFrame4x4.h.

template<class _elementType, bool _rowMajor>
template<class _rotationType, class _translationType>
vctFrame4x4< _elementType, _rowMajor >::vctFrame4x4 ( const _rotationType &  rotation,
const _translationType &  translation 
) [inline]

Constructor from a translation and a rotation.

Definition at line 132 of file vctFrame4x4.h.


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu