|
EIGEN_DEVICE_FUNC | Translation () |
| Default constructor without initialization. More...
|
|
EIGEN_DEVICE_FUNC | Translation (const Scalar &sx, const Scalar &sy) |
|
EIGEN_DEVICE_FUNC | Translation (const Scalar &sx, const Scalar &sy, const Scalar &sz) |
|
EIGEN_DEVICE_FUNC | Translation (const VectorType &vector) |
| Constructs and initialize the translation transformation from a vector of translation coefficients.
|
|
EIGEN_DEVICE_FUNC Scalar | x () const |
| Retruns the x-translation by value. More...
|
|
EIGEN_DEVICE_FUNC Scalar | y () const |
| Retruns the y-translation by value. More...
|
|
EIGEN_DEVICE_FUNC Scalar | z () const |
| Retruns the z-translation by value. More...
|
|
EIGEN_DEVICE_FUNC Scalar & | x () |
| Retruns the x-translation as a reference. More...
|
|
EIGEN_DEVICE_FUNC Scalar & | y () |
| Retruns the y-translation as a reference. More...
|
|
EIGEN_DEVICE_FUNC Scalar & | z () |
| Retruns the z-translation as a reference. More...
|
|
EIGEN_DEVICE_FUNC const VectorType & | vector () const |
|
EIGEN_DEVICE_FUNC VectorType & | vector () |
|
EIGEN_DEVICE_FUNC const VectorType & | translation () const |
|
EIGEN_DEVICE_FUNC VectorType & | translation () |
|
EIGEN_DEVICE_FUNC Translation | operator* (const Translation &other) const |
| Concatenates two translation.
|
|
EIGEN_DEVICE_FUNC AffineTransformType | operator* (const UniformScaling< Scalar > &other) const |
| Concatenates a translation and a uniform scaling.
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC AffineTransformType | operator* (const EigenBase< OtherDerived > &linear) const |
| Concatenates a translation and a linear transformation.
|
|
template<typename Derived > |
EIGEN_DEVICE_FUNC IsometryTransformType | operator* (const RotationBase< Derived, Dim > &r) const |
| Concatenates a translation and a rotation.
|
|
template<int Mode, int Options> |
EIGEN_DEVICE_FUNC Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| Concatenates a translation and a transformation.
|
|
template<typename Derived > |
internal::enable_if< Derived::IsVectorAtCompileTime, VectorType >::type | operator* (const MatrixBase< Derived > &vec) const |
| Applies translation to vector.
|
|
Translation | inverse () const |
|
Translation & | operator= (const Translation &other) |
|
template<typename NewScalarType > |
EIGEN_DEVICE_FUNC internal::cast_return_type< Translation, Translation< NewScalarType, Dim > >::type | cast () const |
|
template<typename OtherScalarType > |
EIGEN_DEVICE_FUNC | Translation (const Translation< OtherScalarType, Dim > &other) |
| Copy constructor with scalar type conversion.
|
|
EIGEN_DEVICE_FUNC bool | isApprox (const Translation &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
|
template<typename _Scalar, int _Dim>
class Eigen::Translation< _Scalar, _Dim >
Represents a translation transformation
- Template Parameters
-
_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 |
- Note
- This class is not aimed to be used to store a translation transformation, but rather to make easier the constructions and updates of Transform objects.
- See also
- class Scaling, class Transform