Shapeworks Studio
2.1
Shape analysis software suite
|
Represents a translation transformation. More...
#include <Translation.h>
Public Types | |
enum | { Dim = _Dim } |
enum | { Dim = _Dim } |
typedef _Scalar | Scalar |
typedef Matrix< Scalar, Dim, 1 > | VectorType |
typedef Matrix< Scalar, Dim, Dim > | LinearMatrixType |
typedef Scaling< Scalar, Dim > | ScalingType |
typedef Transform< Scalar, Dim > | TransformType |
typedef _Scalar | Scalar |
typedef Matrix< Scalar, Dim, 1 > | VectorType |
typedef Matrix< Scalar, Dim, Dim > | LinearMatrixType |
typedef Transform< Scalar, Dim, Affine > | AffineTransformType |
typedef Transform< Scalar, Dim, Isometry > | IsometryTransformType |
Public Member Functions | |
Translation () | |
Translation (const Scalar &sx, const Scalar &sy) | |
Translation (const Scalar &sx, const Scalar &sy, const Scalar &sz) | |
Translation (const VectorType &vector) | |
const VectorType & | vector () const |
VectorType & | vector () |
Translation | operator* (const Translation &other) const |
TransformType | operator* (const ScalingType &other) const |
TransformType | operator* (const LinearMatrixType &linear) const |
template<typename Derived > | |
TransformType | operator* (const RotationBase< Derived, Dim > &r) const |
TransformType | operator* (const TransformType &t) const |
VectorType | operator* (const VectorType &other) const |
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) | |
bool | isApprox (const Translation &other, typename NumTraits< Scalar >::Real prec=precision< Scalar >()) const |
Translation () | |
Translation (const Scalar &sx, const Scalar &sy) | |
Translation (const Scalar &sx, const Scalar &sy, const Scalar &sz) | |
Translation (const VectorType &vector) | |
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 |
AffineTransformType | operator* (const UniformScaling< Scalar > &other) const |
template<typename OtherDerived > | |
AffineTransformType | operator* (const EigenBase< OtherDerived > &linear) const |
template<typename Derived > | |
IsometryTransformType | operator* (const RotationBase< Derived, Dim > &r) const |
template<int Mode, int Options> | |
Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
VectorType | operator* (const VectorType &other) const |
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) | |
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 | |
TransformType | operator* (const LinearMatrixType &linear, const Translation &t) |
template<typename OtherDerived > | |
AffineTransformType | operator* (const EigenBase< OtherDerived > &linear, const Translation &t) |
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 |
Definition at line 236 of file ForwardDeclarations.h.
typedef Transform<Scalar,Dim,Affine> Eigen::Translation< _Scalar, _Dim >::AffineTransformType |
corresponding affine transformation type
Definition at line 43 of file Translation.h.
typedef Transform<Scalar,Dim,Isometry> Eigen::Translation< _Scalar, _Dim >::IsometryTransformType |
corresponding isometric transformation type
Definition at line 45 of file Translation.h.
typedef Matrix<Scalar,Dim,Dim> Eigen::Translation< _Scalar, _Dim >::LinearMatrixType |
corresponding linear transformation matrix type
Definition at line 40 of file Translation.h.
typedef Matrix<Scalar,Dim,Dim> Eigen::Translation< _Scalar, _Dim >::LinearMatrixType |
corresponding linear transformation matrix type
Definition at line 41 of file Translation.h.
typedef _Scalar Eigen::Translation< _Scalar, _Dim >::Scalar |
the scalar type of the coefficients
Definition at line 36 of file Translation.h.
typedef _Scalar Eigen::Translation< _Scalar, _Dim >::Scalar |
the scalar type of the coefficients
Definition at line 37 of file Translation.h.
typedef Scaling<Scalar,Dim> Eigen::Translation< _Scalar, _Dim >::ScalingType |
corresponding scaling transformation type
Definition at line 42 of file Translation.h.
typedef Transform<Scalar,Dim> Eigen::Translation< _Scalar, _Dim >::TransformType |
corresponding affine transformation type
Definition at line 44 of file Translation.h.
typedef Matrix<Scalar,Dim,1> Eigen::Translation< _Scalar, _Dim >::VectorType |
corresponding vector type
Definition at line 38 of file Translation.h.
typedef Matrix<Scalar,Dim,1> Eigen::Translation< _Scalar, _Dim >::VectorType |
corresponding vector type
Definition at line 39 of file Translation.h.
anonymous enum |
anonymous enum |
|
inline |
|
inlineexplicit |
Constructs and initialize the scaling transformation from a vector of scaling coefficients
Definition at line 70 of file Translation.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 129 of file Translation.h.
|
inline |
|
inlineexplicit |
Constructs and initialize the translation transformation from a vector of translation coefficients
Definition at line 71 of file Translation.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 158 of file Translation.h.
|
inline |
*this
with scalar type casted to NewScalarType Note that if NewScalarType is equal to the current scalar type of *this
then this function smartly returns a const reference to *this
.
Definition at line 124 of file Translation.h.
|
inline |
*this
with scalar type casted to NewScalarType Note that if NewScalarType is equal to the current scalar type of *this
then this function smartly returns a const reference to *this
.
Definition at line 153 of file Translation.h.
|
inline |
|
inline |
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 136 of file Translation.h.
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 165 of file Translation.h.
|
inline |
|
inline |
|
inline |
Concatenates a translation and a linear transformation
Definition at line 164 of file Translation.h.
|
inline |
|
inline |
Concatenates a translation and a uniform scaling
Definition at line 180 of file Translation.h.
|
inline |
Concatenates a translation and a linear transformation
Definition at line 193 of file Translation.h.
|
inline |
Concatenates a translation and an affine transformation
Definition at line 177 of file Translation.h.
|
inline |
Applies translation to vector
Definition at line 106 of file Translation.h.
|
inline |
Concatenates a translation and a rotation
Definition at line 106 of file Translation.h.
|
inline |
Concatenates a translation and a transformation
Definition at line 125 of file Translation.h.
|
inline |
Applies translation to vector
Definition at line 133 of file Translation.h.
|
friend |
|
friend |
Definition at line 112 of file Translation.h.