Represents a translation transformation
| _Scalar | the scalar type, i.e., the type of the coefficients. |
| _Dim | the dimension of the space, can be a compile time value or Dynamic |
Public Types | |
| enum | { Dim = _Dim } |
| dimension of the space More... | |
| typedef _Scalar | Scalar |
| the scalar type of the coefficients | |
| typedef Matrix< Scalar, Dim, 1 > | VectorType |
| corresponding vector type | |
| typedef Matrix< Scalar, Dim, Dim > | LinearMatrixType |
| corresponding linear transformation matrix type | |
| typedef Transform< Scalar, Dim, Affine > | AffineTransformType |
| corresponding affine transformation type | |
Public Member Functions | |
| Translation () | |
| Default constructor without initialization. | |
| Translation (const Scalar &sx, const Scalar &sy) | |
| Translation (const Scalar &sx, const Scalar &sy, const Scalar &sz) | |
| Translation (const VectorType &vector) | |
| Constructs and initialize the translation transformation from a vector of translation coefficients. | |
| Scalar | x () const |
| Retruns the x-translation by value. | |
| Scalar | y () const |
| Retruns the y-translation by value. | |
| Scalar | z () const |
| Retruns the z-translation by value. | |
| Scalar & | x () |
| Retruns the x-translation as a reference. | |
| Scalar & | y () |
| Retruns the y-translation as a reference. | |
| Scalar & | z () |
| Retruns the z-translation as a reference. | |
| const VectorType & | vector () const |
| VectorType & | vector () |
| const VectorType & | translation () const |
| VectorType & | translation () |
| Translation | operator* (const Translation &other) const |
| Concatenates two translation. | |
| AffineTransformType | operator* (const UniformScaling< Scalar > &other) const |
| Concatenates a translation and a uniform scaling. | |
| template<typename OtherDerived > | |
| AffineTransformType | operator* (const EigenBase< OtherDerived > &linear) const |
| Concatenates a translation and a linear transformation. | |
| template<typename Derived > | |
| AffineTransformType | operator* (const RotationBase< Derived, Dim > &r) const |
| Concatenates a translation and a rotation. | |
| template<int Mode, int Options> | |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| Concatenates a translation and a transformation. | |
| VectorType | operator* (const VectorType &other) const |
| Applies translation to vector. | |
| Translation | inverse () const |
| Translation & | operator= (const Translation &other) |
| template<typename NewScalarType > | |
| internal::cast_return_type < Translation, Translation < NewScalarType, Dim > >::type | cast () const |
| template<typename OtherScalarType > | |
| Translation (const Translation< OtherScalarType, Dim > &other) | |
| Copy constructor with scalar type conversion. | |
| bool | isApprox (const Translation &other, typename NumTraits< Scalar >::Real prec=NumTraits< Scalar >::dummy_precision()) const |
Static Public Member Functions | |
| static const Translation | Identity () |
Protected Attributes | |
| VectorType | m_coeffs |
Friends | |
| template<typename OtherDerived > | |
| AffineTransformType | operator* (const EigenBase< OtherDerived > &linear, const Translation &t) |
| typedef Transform<Scalar,Dim,Affine> Eigen::Translation< _Scalar, _Dim >::AffineTransformType |
| typedef Matrix<Scalar,Dim,Dim> Eigen::Translation< _Scalar, _Dim >::LinearMatrixType |
| typedef _Scalar Eigen::Translation< _Scalar, _Dim >::Scalar |
| typedef Matrix<Scalar,Dim,1> Eigen::Translation< _Scalar, _Dim >::VectorType |
| anonymous enum |
| Eigen::Translation< _Scalar, _Dim >::Translation | ( | ) | [inline] |
| Eigen::Translation< _Scalar, _Dim >::Translation | ( | const Scalar & | sx, |
| const Scalar & | sy | ||
| ) | [inline] |
| Eigen::Translation< _Scalar, _Dim >::Translation | ( | const Scalar & | sx, |
| const Scalar & | sy, | ||
| const Scalar & | sz | ||
| ) | [inline] |
| Eigen::Translation< _Scalar, _Dim >::Translation | ( | const VectorType & | vector | ) | [inline, explicit] |
| Eigen::Translation< _Scalar, _Dim >::Translation | ( | const Translation< OtherScalarType, Dim > & | other | ) | [inline, explicit] |
| internal::cast_return_type<Translation,Translation<NewScalarType,Dim> >::type Eigen::Translation< _Scalar, _Dim >::cast | ( | ) | const [inline] |
| static const Translation Eigen::Translation< _Scalar, _Dim >::Identity | ( | ) | [inline, static] |
| Translation Eigen::Translation< _Scalar, _Dim >::inverse | ( | ) | const [inline] |
| bool Eigen::Translation< _Scalar, _Dim >::isApprox | ( | const Translation< _Scalar, _Dim > & | other, |
| typename NumTraits< Scalar >::Real | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline] |
true if *this is approximately equal to other, within the precision determined by prec.| Translation Eigen::Translation< _Scalar, _Dim >::operator* | ( | const Translation< _Scalar, _Dim > & | other | ) | const [inline] |
| VectorType Eigen::Translation< _Scalar, _Dim >::operator* | ( | const VectorType & | other | ) | const [inline] |
| Translation< Scalar, Dim >::AffineTransformType Eigen::Translation< Scalar, Dim >::operator* | ( | const UniformScaling< Scalar > & | other | ) | const [inline] |
| Transform<Scalar,Dim,Mode> Eigen::Translation< _Scalar, _Dim >::operator* | ( | const Transform< Scalar, Dim, Mode, Options > & | t | ) | const [inline] |
| Translation< Scalar, Dim >::AffineTransformType Eigen::Translation< Scalar, Dim >::operator* | ( | const EigenBase< OtherDerived > & | linear | ) | const [inline] |
| AffineTransformType Eigen::Translation< _Scalar, _Dim >::operator* | ( | const RotationBase< Derived, Dim > & | r | ) | const [inline] |
| Translation& Eigen::Translation< _Scalar, _Dim >::operator= | ( | const Translation< _Scalar, _Dim > & | other | ) | [inline] |
| const VectorType& Eigen::Translation< _Scalar, _Dim >::translation | ( | ) | const [inline] |
| VectorType& Eigen::Translation< _Scalar, _Dim >::translation | ( | ) | [inline] |
| VectorType& Eigen::Translation< _Scalar, _Dim >::vector | ( | ) | [inline] |
| const VectorType& Eigen::Translation< _Scalar, _Dim >::vector | ( | ) | const [inline] |
Definition at line 99 of file Geometry.
Referenced by Eigen::glTranslate().
| Scalar& Eigen::Translation< _Scalar, _Dim >::x | ( | ) | [inline] |
| Scalar Eigen::Translation< _Scalar, _Dim >::x | ( | ) | const [inline] |
| Scalar& Eigen::Translation< _Scalar, _Dim >::y | ( | ) | [inline] |
| Scalar Eigen::Translation< _Scalar, _Dim >::y | ( | ) | const [inline] |
| Scalar& Eigen::Translation< _Scalar, _Dim >::z | ( | ) | [inline] |
| Scalar Eigen::Translation< _Scalar, _Dim >::z | ( | ) | const [inline] |
| AffineTransformType operator* | ( | const EigenBase< OtherDerived > & | linear, |
| const Translation< _Scalar, _Dim > & | t | ||
| ) | [friend] |
VectorType Eigen::Translation< _Scalar, _Dim >::m_coeffs [protected] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |