10 #ifndef EIGEN_TRANSLATION_H
11 #define EIGEN_TRANSLATION_H
29 template<
typename _Scalar,
int _Dim>
101 template<
typename OtherDerived>
105 template<
typename Derived>
111 template<
typename OtherDerived>
friend
124 template<
int Mode,
int Options>
133 template<
typename Derived>
136 {
return m_coeffs + vec.derived(); }
148 template<
typename NewScalarType>
153 template<
typename OtherScalarType>
174 template<
typename Scalar,
int Dim>
186 template<
typename Scalar,
int Dim>
187 template<
typename OtherDerived>
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:976
#define eigen_assert(x)
Definition: Macros.h:1037
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Size)
Definition: Memory.h:842
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:50
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
Definition: CwiseNullaryOp.h:562
Common base class for compact rotation representations.
Definition: RotationBase.h:30
Represents a translation transformation.
Definition: Translation.h:31
static const Translation Identity()
Definition: Translation.h:141
EIGEN_DEVICE_FUNC Translation(const VectorType &vector)
Definition: Translation.h:71
EIGEN_DEVICE_FUNC internal::cast_return_type< Translation, Translation< NewScalarType, Dim > >::type cast() const
Definition: Translation.h:149
EIGEN_DEVICE_FUNC Scalar & z()
Returns the z-translation as a reference.
Definition: Translation.h:85
Transform< Scalar, Dim, Affine > AffineTransformType
Definition: Translation.h:43
VectorType m_coeffs
Definition: Translation.h:49
EIGEN_DEVICE_FUNC const VectorType & vector() const
Definition: Translation.h:87
Matrix< Scalar, Dim, 1 > VectorType
Definition: Translation.h:39
EIGEN_DEVICE_FUNC bool isApprox(const Translation &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const
Definition: Translation.h:161
friend EIGEN_DEVICE_FUNC AffineTransformType operator*(const EigenBase< OtherDerived > &linear, const Translation &t)
Definition: Translation.h:112
EIGEN_DEVICE_FUNC VectorType & vector()
Definition: Translation.h:88
EIGEN_DEVICE_FUNC Translation()
Definition: Translation.h:54
EIGEN_DEVICE_FUNC Scalar x() const
Returns the x-translation by value.
Definition: Translation.h:74
EIGEN_DEVICE_FUNC Translation(const Scalar &sx, const Scalar &sy, const Scalar &sz)
Definition: Translation.h:63
EIGEN_DEVICE_FUNC const VectorType & translation() const
Definition: Translation.h:90
@ Dim
Definition: Translation.h:35
EIGEN_DEVICE_FUNC Scalar & y()
Returns the y-translation as a reference.
Definition: Translation.h:83
EIGEN_DEVICE_FUNC Scalar & x()
Returns the x-translation as a reference.
Definition: Translation.h:81
EIGEN_DEVICE_FUNC Translation(const Translation< OtherScalarType, Dim > &other)
Definition: Translation.h:154
EIGEN_DEVICE_FUNC Scalar y() const
Returns the y-translation by value.
Definition: Translation.h:76
EIGEN_DEVICE_FUNC VectorType & translation()
Definition: Translation.h:91
Translation inverse() const
Definition: Translation.h:139
EIGEN_DEVICE_FUNC Scalar z() const
Returns the z-translation by value.
Definition: Translation.h:78
EIGEN_DEVICE_FUNC Translation operator*(const Translation &other) const
Definition: Translation.h:94
Matrix< Scalar, Dim, Dim > LinearMatrixType
Definition: Translation.h:41
EIGEN_DEVICE_FUNC IsometryTransformType operator*(const RotationBase< Derived, Dim > &r) const
Definition: Translation.h:106
Transform< Scalar, Dim, Isometry > IsometryTransformType
Definition: Translation.h:45
_Scalar Scalar
Definition: Translation.h:37
EIGEN_DEVICE_FUNC Translation(const Scalar &sx, const Scalar &sy)
Definition: Translation.h:56
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
Translation< float, 2 > Translation2f
Definition: Translation.h:168
Translation< double, 2 > Translation2d
Definition: Translation.h:169
Translation< float, 3 > Translation3f
Definition: Translation.h:170
Translation< double, 3 > Translation3d
Definition: Translation.h:171
type
The type the bitset is encoded with.
Definition: bitset.hpp:44
Definition: EigenBase.h:30
EIGEN_DEVICE_FUNC Derived & derived()
Definition: EigenBase.h:46
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition: NumTraits.h:233
Definition: XprHelper.h:510