|
EIGEN_DEVICE_FUNC | Translation () |
|
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) |
|
EIGEN_DEVICE_FUNC Scalar | x () const |
| Returns the x-translation by value.
|
|
EIGEN_DEVICE_FUNC Scalar | y () const |
| Returns the y-translation by value.
|
|
EIGEN_DEVICE_FUNC Scalar | z () const |
| Returns the z-translation by value.
|
|
EIGEN_DEVICE_FUNC Scalar & | x () |
| Returns the x-translation as a reference.
|
|
EIGEN_DEVICE_FUNC Scalar & | y () |
| Returns the y-translation as a reference.
|
|
EIGEN_DEVICE_FUNC Scalar & | z () |
| Returns the z-translation as a reference.
|
|
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 |
|
EIGEN_DEVICE_FUNC AffineTransformType | operator* (const UniformScaling< Scalar > &other) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC AffineTransformType | operator* (const EigenBase< OtherDerived > &linear) const |
|
template<typename Derived > |
EIGEN_DEVICE_FUNC IsometryTransformType | operator* (const RotationBase< Derived, Dim > &r) const |
|
template<int Mode, int Options> |
EIGEN_DEVICE_FUNC Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
|
template<typename Derived > |
internal::enable_if< Derived::IsVectorAtCompileTime, VectorType >::type | operator* (const MatrixBase< Derived > &vec) const |
|
Translation | inverse () const |
|
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) |
|
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.
\geometry_module
- 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