Represents an homogeneous transformation in a N dimensional space. More...
Public Types | |
enum | { TransformTimeDiagonalMode } |
typedef std::conditional_t< int(Mode)==int(AffineCompact), MatrixType &, Block< MatrixType, Dim, HDim > > | AffinePart |
typedef std::conditional_t< int(Mode)==int(AffineCompact), const MatrixType &, const Block< const MatrixType, Dim, HDim > > | ConstAffinePart |
typedef const Block< ConstMatrixType, Dim, Dim, int(Mode)==(AffineCompact) &&(int(Options)&RowMajor)==0 > | ConstLinearPart |
typedef const MatrixType | ConstMatrixType |
typedef const Block< ConstMatrixType, Dim, 1,!(internal::traits< MatrixType >::Flags &RowMajorBit)> | ConstTranslationPart |
typedef Eigen::Index | Index |
typedef Matrix< Scalar, Dim, Dim, Options > | LinearMatrixType |
typedef Block< MatrixType, Dim, Dim, int(Mode)==(AffineCompact) &&(int(Options)&RowMajor)==0 > | LinearPart |
typedef internal::make_proper_matrix_type< Scalar, Rows, HDim, Options >::type | MatrixType |
typedef std::conditional_t< int(Mode)==Isometry, ConstLinearPart, const LinearMatrixType > | RotationReturnType |
typedef Scalar_ | Scalar |
typedef Eigen::Index | StorageIndex |
typedef internal::transform_take_affine_part< Transform > | take_affine_part |
typedef Transform< Scalar, Dim, TransformTimeDiagonalMode > | TransformTimeDiagonalReturnType |
typedef Block< MatrixType, Dim, 1,!(internal::traits< MatrixType >::Flags &RowMajorBit)> | TranslationPart |
typedef Translation< Scalar, Dim > | TranslationType |
typedef Matrix< Scalar, Dim, 1 > | VectorType |
Public Member Functions | |
AffinePart | affine () |
ConstAffinePart | affine () const |
template<typename NewScalarType > | |
internal::cast_return_type< Transform, Transform< NewScalarType, Dim, Mode, Options > >::type | cast () const |
EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
template<typename RotationMatrixType , typename ScalingMatrixType > | |
void | computeRotationScaling (RotationMatrixType *rotation, ScalingMatrixType *scaling) const |
template<typename ScalingMatrixType , typename RotationMatrixType > | |
void | computeScalingRotation (ScalingMatrixType *scaling, RotationMatrixType *rotation) const |
Scalar * | data () |
const Scalar * | data () const |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE (Scalar_, Dim_==Dynamic ? Dynamic :(Dim_+1) *(Dim_+1)) enum | |
template<typename PositionDerived , typename OrientationType , typename ScaleDerived > | |
Transform & | fromPositionOrientationScale (const MatrixBase< PositionDerived > &position, const OrientationType &orientation, const MatrixBase< ScaleDerived > &scale) |
template<typename PositionDerived , typename OrientationType , typename ScaleDerived > | |
Transform< Scalar, Dim, Mode, Options > & | fromPositionOrientationScale (const MatrixBase< PositionDerived > &position, const OrientationType &orientation, const MatrixBase< ScaleDerived > &scale) |
Transform | inverse (TransformTraits traits=(TransformTraits) Mode) const |
bool | isApprox (const Transform &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
LinearPart | linear () |
ConstLinearPart | linear () const |
Block< MatrixType, int(Mode)==int(Projective)?HDim:Dim, Dim > | linearExt () |
const Block< MatrixType, int(Mode)==int(Projective)?HDim:Dim, Dim > | linearExt () const |
void | makeAffine () |
MatrixType & | matrix () |
const MatrixType & | matrix () const |
Scalar & | operator() (Index row, Index col) |
Scalar | operator() (Index row, Index col) const |
template<typename DiagonalDerived > | |
const TransformTimeDiagonalReturnType | operator* (const DiagonalBase< DiagonalDerived > &b) const |
template<typename OtherDerived > | |
const internal::transform_right_product_impl< Transform, OtherDerived >::ResultType | operator* (const EigenBase< OtherDerived > &other) const |
template<typename Derived > | |
Transform | operator* (const RotationBase< Derived, Dim > &r) const |
template<typename Derived > | |
Transform< Scalar, Dim, Mode, Options > | operator* (const RotationBase< Derived, Dim > &r) const |
const Transform | operator* (const Transform &other) const |
template<int OtherMode, int OtherOptions> | |
internal::transform_transform_product_impl< Transform, Transform< Scalar, Dim, OtherMode, OtherOptions > >::ResultType | operator* (const Transform< Scalar, Dim, OtherMode, OtherOptions > &other) const |
Transform | operator* (const TranslationType &t) const |
TransformTimeDiagonalReturnType | operator* (const UniformScaling< Scalar > &s) const |
Transform & | operator*= (const DiagonalMatrix< Scalar, Dim > &s) |
template<typename OtherDerived > | |
Transform & | operator*= (const EigenBase< OtherDerived > &other) |
template<typename Derived > | |
Transform & | operator*= (const RotationBase< Derived, Dim > &r) |
Transform & | operator*= (const TranslationType &t) |
Transform & | operator*= (const UniformScaling< Scalar > &s) |
template<typename OtherDerived > | |
Transform & | operator= (const EigenBase< OtherDerived > &other) |
Transform & | operator= (const QTransform &other) |
template<typename OtherDerived > | |
Transform & | operator= (const ReturnByValue< OtherDerived > &other) |
template<typename Derived > | |
Transform & | operator= (const RotationBase< Derived, Dim > &r) |
template<typename Derived > | |
Transform< Scalar, Dim, Mode, Options > & | operator= (const RotationBase< Derived, Dim > &r) |
Transform & | operator= (const TranslationType &t) |
Transform & | operator= (const UniformScaling< Scalar > &t) |
template<typename RotationType > | |
Transform & | prerotate (const RotationType &rotation) |
template<typename RotationType > | |
Transform< Scalar, Dim, Mode, Options > & | prerotate (const RotationType &rotation) |
template<typename OtherDerived > | |
Transform & | prescale (const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Transform< Scalar, Dim, Mode, Options > & | prescale (const MatrixBase< OtherDerived > &other) |
Transform & | prescale (const Scalar &s) |
Transform & | preshear (const Scalar &sx, const Scalar &sy) |
template<typename OtherDerived > | |
Transform & | pretranslate (const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Transform< Scalar, Dim, Mode, Options > & | pretranslate (const MatrixBase< OtherDerived > &other) |
template<typename RotationType > | |
Transform & | rotate (const RotationType &rotation) |
template<typename RotationType > | |
Transform< Scalar, Dim, Mode, Options > & | rotate (const RotationType &rotation) |
RotationReturnType | rotation () const |
EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
template<typename OtherDerived > | |
Transform & | scale (const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Transform< Scalar, Dim, Mode, Options > & | scale (const MatrixBase< OtherDerived > &other) |
Transform & | scale (const Scalar &s) |
void | setIdentity () |
Transform & | shear (const Scalar &sx, const Scalar &sy) |
QTransform | toQTransform (void) const |
Transform () | |
template<typename OtherDerived > | |
Transform (const EigenBase< OtherDerived > &other) | |
Transform (const QTransform &other) | |
template<typename OtherDerived > | |
Transform (const ReturnByValue< OtherDerived > &other) | |
template<typename Derived > | |
Transform (const RotationBase< Derived, Dim > &r) | |
template<typename OtherScalarType > | |
Transform (const Transform< OtherScalarType, Dim, Mode, Options > &other) | |
template<int OtherOptions> | |
Transform (const Transform< Scalar, Dim, Mode, OtherOptions > &other) | |
template<int OtherMode, int OtherOptions> | |
Transform (const Transform< Scalar, Dim, OtherMode, OtherOptions > &other) | |
Transform (const TranslationType &t) | |
Transform (const UniformScaling< Scalar > &s) | |
template<typename OtherDerived > | |
Transform & | translate (const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Transform< Scalar, Dim, Mode, Options > & | translate (const MatrixBase< OtherDerived > &other) |
TranslationPart | translation () |
ConstTranslationPart | translation () const |
Block< MatrixType, int(Mode)==int(Projective)?HDim:Dim, 1 > | translationExt () |
const Block< MatrixType, int(Mode)==int(Projective)?HDim:Dim, 1 > | translationExt () const |
Static Public Member Functions | |
static const Transform | Identity () |
Returns an identity transformation. More... | |
Protected Attributes | |
MatrixType | m_matrix |
Represents an homogeneous transformation in a N dimensional space.
This is defined in the Geometry module.
Scalar_ | the scalar type, i.e., the type of the coefficients |
Dim_ | the dimension of the space |
Mode_ | the type of the transformation. Can be:
|
Options_ | has the same meaning as in class Matrix. It allows to specify DontAlign and/or RowMajor. These Options are passed directly to the underlying matrix type. |
The homography is internally represented and stored by a matrix which is available through the matrix() method. To understand the behavior of this class you have to think a Transform object as its internal matrix representation. The chosen convention is right multiply:
Therefore, an affine transformation matrix M is shaped like this:
\( \left( \begin{array}{cc} linear & translation\\ 0 ... 0 & 1 \end{array} \right) \)
Note that for a projective transformation the last row can be anything, and then the interpretation of different parts might be slightly different.
However, unlike a plain matrix, the Transform class provides many features simplifying both its assembly and usage. In particular, it can be composed with any other transformations (Transform,Translation,RotationBase,DiagonalMatrix) and can be directly used to transform implicit homogeneous vectors. All these operations are handled via the operator*. For the composition of transformations, its principle consists to first convert the right/left hand sides of the product to a compatible (Dim+1)^2 matrix and then perform a pure matrix product. Of course, internally, operator* tries to perform the minimal number of operations according to the nature of each terms. Likewise, when applying the transform to points, the latters are automatically promoted to homogeneous vectors before doing the matrix product. The conventions to homogeneous representations are performed as follow:
Translation t (Dim)x(1): \( \left( \begin{array}{cc} I & t \\ 0\,...\,0 & 1 \end{array} \right) \)
Rotation R (Dim)x(Dim): \( \left( \begin{array}{cc} R & 0\\ 0\,...\,0 & 1 \end{array} \right) \)
Scaling DiagonalMatrix S (Dim)x(Dim): \( \left( \begin{array}{cc} S & 0\\ 0\,...\,0 & 1 \end{array} \right) \)
Column point v (Dim)x(1): \( \left( \begin{array}{c} v\\ 1 \end{array} \right) \)
Set of column points V1...Vn (Dim)x(n): \( \left( \begin{array}{ccc} v_1 & ... & v_n\\ 1 & ... & 1 \end{array} \right) \)
The concatenation of a Transform object with any kind of other transformation always returns a Transform object.
A little exception to the "as pure matrix product" rule is the case of the transformation of non homogeneous vectors by an affine transformation. In that case the last matrix row can be ignored, and the product returns non homogeneous vectors.
Since, for instance, a Dim x Dim matrix is interpreted as a linear transformation, it is not possible to directly transform Dim vectors stored in a Dim x Dim matrix. The solution is either to use a Dim x Dynamic matrix or explicitly request a vector transformation by making the vector homogeneous:
Note that there is zero overhead.
Conversion methods from/to Qt's QMatrix and QTransform are available if the preprocessor token EIGEN_QT_SUPPORT is defined.
This class can be extended with the help of the plugin mechanism described on the page Extending MatrixBase (and other classes) by defining the preprocessor symbol EIGEN_TRANSFORM_PLUGIN
.
Definition at line 206 of file Transform.h.
typedef std::conditional_t<int(Mode)==int(AffineCompact), MatrixType&, Block<MatrixType,Dim,HDim> > Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::AffinePart |
type of read/write reference to the affine part of the transformation
Definition at line 234 of file Transform.h.
typedef std::conditional_t<int(Mode)==int(AffineCompact), const MatrixType&, const Block<const MatrixType,Dim,HDim> > Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::ConstAffinePart |
type of read reference to the affine part of the transformation
Definition at line 238 of file Transform.h.
typedef const Block<ConstMatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (int(Options)&RowMajor)==0> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::ConstLinearPart |
type of read reference to the linear part of the transformation
Definition at line 230 of file Transform.h.
typedef const MatrixType Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::ConstMatrixType |
constified MatrixType
Definition at line 224 of file Transform.h.
typedef const Block<ConstMatrixType,Dim,1,!(internal::traits<MatrixType>::Flags & RowMajorBit)> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::ConstTranslationPart |
type of a read reference to the translation part of the rotation
Definition at line 244 of file Transform.h.
typedef Eigen::Index Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::Index |
Definition at line 220 of file Transform.h.
typedef Matrix<Scalar,Dim,Dim,Options> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::LinearMatrixType |
type of the matrix used to represent the linear part of the transformation
Definition at line 226 of file Transform.h.
typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (int(Options)&RowMajor)==0> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::LinearPart |
type of read/write reference to the linear part of the transformation
Definition at line 228 of file Transform.h.
typedef internal::make_proper_matrix_type<Scalar,Rows,HDim,Options>::type Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::MatrixType |
type of the matrix used to represent the transformation
Definition at line 222 of file Transform.h.
typedef std::conditional_t<int(Mode)==Isometry,ConstLinearPart,const LinearMatrixType> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::RotationReturnType |
Definition at line 603 of file Transform.h.
typedef Scalar_ Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::Scalar |
the scalar type of the coefficients
Definition at line 218 of file Transform.h.
typedef Eigen::Index Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::StorageIndex |
Definition at line 219 of file Transform.h.
typedef internal::transform_take_affine_part<Transform> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::take_affine_part |
Definition at line 284 of file Transform.h.
typedef Transform<Scalar,Dim,TransformTimeDiagonalMode> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::TransformTimeDiagonalReturnType |
The return type of the product between a diagonal matrix and a transform
Definition at line 251 of file Transform.h.
typedef Block<MatrixType,Dim,1,!(internal::traits<MatrixType>::Flags & RowMajorBit)> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::TranslationPart |
type of a read/write reference to the translation part of the rotation
Definition at line 242 of file Transform.h.
typedef Translation<Scalar,Dim> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::TranslationType |
corresponding translation type
Definition at line 246 of file Transform.h.
typedef Matrix<Scalar,Dim,1> Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::VectorType |
type of a vector
Definition at line 240 of file Transform.h.
anonymous enum |
|
inline |
Default constructor without initialization of the meaningful coefficients. If Mode==Affine or Mode==Isometry, then the last row is set to [0 ... 0 1]
Definition at line 261 of file Transform.h.
|
inlineexplicit |
Definition at line 267 of file Transform.h.
|
inlineexplicit |
Definition at line 272 of file Transform.h.
|
inlineexplicit |
Definition at line 278 of file Transform.h.
|
inlineexplicit |
Constructs and initializes a transformation from a Dim^2 or a (Dim+1)^2 matrix.
Definition at line 288 of file Transform.h.
|
inline |
Definition at line 309 of file Transform.h.
|
inline |
Definition at line 317 of file Transform.h.
|
inline |
Definition at line 358 of file Transform.h.
|
inline |
Optional QT support *** Initializes *this
from a QTransform assuming the dimension is 2.
This function is available only if the token EIGEN_QT_SUPPORT is defined.
Definition at line 792 of file Transform.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 637 of file Transform.h.
|
inline |
Definition at line 405 of file Transform.h.
|
inline |
Definition at line 403 of file Transform.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 632 of file Transform.h.
|
inline |
Definition at line 383 of file Transform.h.
void Eigen::Transform< Scalar, Dim, Mode, Options >::computeRotationScaling | ( | RotationMatrixType * | rotation, |
ScalingMatrixType * | scaling | ||
) | const |
decomposes the linear part of the transformation as a product rotation x scaling, the scaling being not necessarily positive.
If either pointer is zero, the corresponding computation is skipped.
This is defined in the SVD module.
Definition at line 1105 of file Transform.h.
void Eigen::Transform< Scalar, Dim, Mode, Options >::computeScalingRotation | ( | ScalingMatrixType * | scaling, |
RotationMatrixType * | rotation | ||
) | const |
decomposes the linear part of the transformation as a product scaling x rotation, the scaling being not necessarily positive.
If either pointer is zero, the corresponding computation is skipped.
This is defined in the SVD module.
Definition at line 1135 of file Transform.h.
|
inline |
Definition at line 624 of file Transform.h.
|
inline |
Definition at line 622 of file Transform.h.
|
inline |
< space dimension in which the transformation holds
< size of a respective homogeneous vector
Definition at line 209 of file Transform.h.
Transform& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::fromPositionOrientationScale | ( | const MatrixBase< PositionDerived > & | position, |
const OrientationType & | orientation, | ||
const MatrixBase< ScaleDerived > & | scale | ||
) |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::fromPositionOrientationScale | ( | const MatrixBase< PositionDerived > & | position, |
const OrientationType & | orientation, | ||
const MatrixBase< ScaleDerived > & | scale | ||
) |
Convenient method to set *this
from a position, orientation and scale of a 3D object.
Definition at line 1158 of file Transform.h.
|
inlinestatic |
Returns an identity transformation.
Definition at line 537 of file Transform.h.
|
inline |
*this
.hint | allows to optimize the inversion process when the transformation is known to be not a general transformation (optional). The possible values are:
|
Definition at line 1230 of file Transform.h.
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 647 of file Transform.h.
|
inline |
Definition at line 400 of file Transform.h.
|
inline |
Definition at line 398 of file Transform.h.
|
inline |
Definition at line 661 of file Transform.h.
|
inline |
Definition at line 667 of file Transform.h.
|
inline |
Sets the last row to [0 ... 0 1]
Definition at line 652 of file Transform.h.
|
inline |
Definition at line 395 of file Transform.h.
|
inline |
Definition at line 393 of file Transform.h.
|
inline |
shortcut for m_matrix(row,col);
Definition at line 390 of file Transform.h.
|
inline |
shortcut for m_matrix(row,col);
Definition at line 387 of file Transform.h.
|
inline |
The rhs diagonal matrix is interpreted as an affine scaling transformation. The product results in a Transform of the same type (mode) as the lhs only if the lhs mode is no isometry. In that case, the returned transform is an affinity.
Definition at line 462 of file Transform.h.
|
inline |
*this
and a matrix expression other.The right-hand-side other can be either:
Moreover, if *this
represents an affine transformation (i.e., Mode!=Projective), then other can also be:
In all cases, the return type is a matrix or vector of same sizes as the right-hand-side other.
If you want to interpret other as a linear or affine transformation, then first convert it to a Transform<> type, or do your own cooking.
Finally, if you want to apply Affine transformations to vectors, then explicitly apply the linear part only:
Definition at line 439 of file Transform.h.
|
inline |
|
inline |
|
inline |
Concatenates two transformations
Definition at line 491 of file Transform.h.
|
inline |
Concatenates two different transformations
Definition at line 524 of file Transform.h.
|
inline |
|
inline |
Definition at line 586 of file Transform.h.
|
inline |
Definition at line 594 of file Transform.h.
|
inline |
Definition at line 488 of file Transform.h.
|
inline |
Definition at line 599 of file Transform.h.
|
inline |
Definition at line 575 of file Transform.h.
|
inline |
Definition at line 583 of file Transform.h.
|
inline |
Set *this
from a Dim^2 or (Dim+1)^2 matrix.
Definition at line 299 of file Transform.h.
|
inline |
Set *this
from a QTransform assuming the dimension is 2.
This function is available only if the token EIGEN_QT_SUPPORT is defined.
Definition at line 803 of file Transform.h.
|
inline |
Definition at line 365 of file Transform.h.
|
inline |
|
inline |
Definition at line 1031 of file Transform.h.
|
inline |
|
inline |
Definition at line 1021 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::prerotate | ( | const RotationType & | rotation | ) |
Applies on the left the rotation represented by the rotation rotation to *this
and returns a reference to *this
.
See rotate() for further details.
Definition at line 961 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::prescale | ( | const MatrixBase< OtherDerived > & | other | ) |
Applies on the left the non uniform scale transformation represented by the vector other to *this
and returns a reference to *this
.
Definition at line 874 of file Transform.h.
|
inline |
Applies on the left a uniform scale of a factor c to *this
and returns a reference to *this
.
Definition at line 887 of file Transform.h.
Transform< Scalar, Dim, Mode, Options > & Eigen::Transform< Scalar, Dim, Mode, Options >::preshear | ( | const Scalar & | sx, |
const Scalar & | sy | ||
) |
Applies on the left the shear transformation represented by the vector other to *this
and returns a reference to *this
.
Definition at line 991 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::pretranslate | ( | const MatrixBase< OtherDerived > & | other | ) |
Applies on the left the translation matrix represented by the vector other to *this
and returns a reference to *this
.
Definition at line 915 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::rotate | ( | const RotationType & | rotation | ) |
Applies on the right the rotation represented by the rotation rotation to *this
and returns a reference to *this
.
The template parameter RotationType is the type of the rotation which must be known by internal::toRotationMatrix<>.
Natively supported types includes:
This mechanism is easily extendable to support user types such as Euler angles, or a pair of Quaternion for 4D rotations.
Definition at line 945 of file Transform.h.
Transform< Scalar, Dim, Mode, Options >::RotationReturnType Eigen::Transform< Scalar, Dim, Mode, Options >::rotation |
If Mode==Isometry, then this method is an alias for linear(), otherwise it calls computeRotationScaling() to extract the rotation through a SVD decomposition.
This is defined in the SVD module.
Definition at line 1086 of file Transform.h.
|
inline |
Definition at line 382 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::scale | ( | const MatrixBase< OtherDerived > & | other | ) |
Procedural API *** Applies on the right the non uniform scale transformation represented by the vector other to *this
and returns a reference to *this
.
Definition at line 847 of file Transform.h.
|
inline |
Applies on the right a uniform scale of a factor c to *this
and returns a reference to *this
.
Definition at line 860 of file Transform.h.
|
inline |
Transform< Scalar, Dim, Mode, Options > & Eigen::Transform< Scalar, Dim, Mode, Options >::shear | ( | const Scalar & | sx, |
const Scalar & | sy | ||
) |
Applies on the right the shear transformation represented by the vector other to *this
and returns a reference to *this
.
Definition at line 975 of file Transform.h.
|
inline |
*this
assuming the dimension is 2.This function is available only if the token EIGEN_QT_SUPPORT is defined.
Definition at line 822 of file Transform.h.
|
inline |
Transform<Scalar,Dim,Mode,Options>& Eigen::Transform< Scalar_, Dim_, Mode_, Options_ >::translate | ( | const MatrixBase< OtherDerived > & | other | ) |
Applies on the right the translation matrix represented by the vector other to *this
and returns a reference to *this
.
Definition at line 901 of file Transform.h.
|
inline |
Definition at line 410 of file Transform.h.
|
inline |
Definition at line 408 of file Transform.h.
|
inline |
Definition at line 674 of file Transform.h.
|
inline |
Definition at line 680 of file Transform.h.
|
protected |
Definition at line 255 of file Transform.h.