22 #ifndef _vctFrame4x4_h
23 #define _vctFrame4x4_h
48 template <
class _elementType,
bool _rowMajor>
50 public vctFrame4x4Base<vctFixedSizeMatrix<_elementType, 4, 4, _rowMajor> >
89 template <
bool __rowMajor>
96 template <
bool __rowMajor>
104 template <
class __containerType>
111 template <
class __containerType>
130 template <
class _rotationType,
class _translationType>
132 const _translationType & translation):
135 this->
From(rotation, translation);
142 template <
class __containerType>
153 template <
class __containerType>
156 bool normalizeInput):
159 if (normalizeInput) {
169 template <
class _containerType>
172 FrameValueType result;
173 result.InverseOf(*
this);
179 template <
class _containerType,
189 template <
class _containerType1,
class _containerType2>
194 frame1.
ApplyTo(frame2, result);
198 template <
class _containerType,
210 #endif // _vctFrame4x4_h
Template base class for a 4x4 frame.
Definition: vctForwardDeclarations.h:234
A template for a fixed size matrix with fixed spacing in memory.
Definition: vctFixedSizeConstMatrixBase.h:103
VCT_CONTAINER_TRAITS_TYPEDEFS(_elementType)
Definition: vctFrame4x4.h:56
ThisType & operator=(const ThisType &other)
Definition: vctFrame4x4.h:84
ThisType & FromNormalized(const __rotationType &rotation, const __translationType &translation)
Definition: vctFrame4x4Base.h:133
vctFrame4x4(void)
Definition: vctFrame4x4.h:71
cmnTypeTraits< value_type > TypeTraits
Definition: vctFrame4x4.h:64
ThisType & From(const __rotationType &rotation, const __translationType &translation)
Definition: vctFrame4x4Base.h:121
ThisType & Assign(const vctFixedSizeConstMatrixBase< _rows, _cols, __rowStride, __colStride, __elementType, __dataPtrType > &other)
Definition: vctFixedSizeMatrixBase.h:475
Declaration of vctFixedSizeMatrix.
vctFrame4x4< value_type, _rowMajor > ThisType
Definition: vctFrame4x4.h:61
size_t size_type
Definition: vctContainerTraits.h:35
vctFixedSizeMatrix< value_type, ROWS, COLS, _rowMajor > ContainerType
Definition: vctFrame4x4.h:59
vctFrame4x4(const vctFrame4x4ConstBase< __containerType > &other)
Definition: vctFrame4x4.h:105
Template base class for a 4x4 frame.
Definition: vctForwardDeclarations.h:236
Template base class for a 4x4 frame.
Definition: vctForwardDeclarations.h:235
Implementation of a fixed-size vector using template metaprogramming.
Definition: vctFixedSizeVector.h:52
Definition: vctFrame4x4.h:57
vctFrame4x4(const ContainerType &other)
Definition: vctFrame4x4.h:118
vctFixedSizeVector< typename _containerType::value_type, 3 > operator*(const vctFrame4x4ConstBase< _containerType > &frame, const vctFixedSizeConstVectorBase< 3, _stride, typename _containerType::value_type, _dataPtrType > &vector)
Definition: vctFrame4x4.h:182
vctFrame4x4(const ThisType &other)
Definition: vctFrame4x4.h:78
vctFrame4x4(const vctFrame4x4< value_type, __rowMajor > &other)
Definition: vctFrame4x4.h:90
Implementation of a fixed-size matrix using template metaprogramming.
Definition: vctFixedSizeMatrix.h:52
ptrdiff_t stride_type
Definition: vctContainerTraits.h:37
void ApplyTo(const vctFixedSizeConstVectorBase< DIMENSION, __stride1, value_type, __dataPtrType1 > &input, vctFixedSizeVectorBase< DIMENSION, __stride2, value_type, __dataPtrType2 > &output) const
Definition: vctFrame4x4ConstBase.h:161
Declaration of vctFrame4x4Base.
Definition: vctFrame4x4.h:56
A template for a fixed length vector with fixed spacing in memory.
Definition: vctFixedSizeConstVectorBase.h:107
Template base class for a frame.
Definition: vctForwardDeclarations.h:232
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
vctFrame4x4(const vctFrameBase< __containerType > &other, bool normalizeInput)
Definition: vctFrame4x4.h:155
vctFrame4x4(const _rotationType &rotation, const _translationType &translation)
Definition: vctFrame4x4.h:131
FrameValueType Inverse(void) const
Definition: vctFrame4x4.h:171
static CISST_EXPORT const FrameValueType & Identity(void)
ThisType & FromRaw(const __rotationType &rotation, const __translationType &translation)
Definition: vctFrame4x4Base.h:144
vctFrame4x4Base< ContainerType > BaseType
Definition: vctFrame4x4.h:60
vctFrame4x4(const vctFrameBase< __containerType > &other)
Definition: vctFrame4x4.h:144