Represents a generic uniform scaling transformation. More...
#include <ForwardDeclarations.h>
Public Types | |
typedef _Scalar | Scalar |
Public Member Functions | |
template<typename NewScalarType > | |
UniformScaling< NewScalarType > | cast () const |
const Scalar & | factor () const |
Scalar & | factor () |
UniformScaling | inverse () const |
bool | isApprox (const UniformScaling &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
UniformScaling | operator* (const UniformScaling &other) const |
template<int Dim> | |
Transform< Scalar, Dim, Affine > | operator* (const Translation< Scalar, Dim > &t) const |
template<int Dim, int Mode, int Options> | |
internal::uniformscaling_times_affine_returntype< Scalar, Dim, Mode >::type | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
template<typename Derived > | |
Eigen::internal::plain_matrix_type< Derived >::type | operator* (const MatrixBase< Derived > &other) const |
template<typename Derived , int Dim> | |
Matrix< Scalar, Dim, Dim > | operator* (const RotationBase< Derived, Dim > &r) const |
UniformScaling () | |
UniformScaling (const Scalar &s) | |
template<typename OtherScalarType > | |
UniformScaling (const UniformScaling< OtherScalarType > &other) | |
Protected Attributes | |
Scalar | m_factor |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Derived , typename Scalar > | |
operator* (const MatrixBase< Derived > &matrix, const UniformScaling< Scalar > &s) | |
Represents a generic uniform scaling transformation.
_Scalar | the scalar type, i.e., the type of the coefficients. |
This class represent a uniform scaling transformation. It is the return type of Scaling(Scalar), and most of the time this is the only way it is used. In particular, this class is not aimed to be used to store a scaling transformation, but rather to make easier the constructions and updates of Transform objects.
To represent an axis aligned scaling, use the DiagonalMatrix class.
Definition at line 297 of file ForwardDeclarations.h.
typedef _Scalar Eigen::UniformScaling< _Scalar >::Scalar |
the scalar type of the coefficients
Definition at line 53 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Default constructor without initialization.
Definition at line 62 of file Eigen/src/Geometry/Scaling.h.
|
inlineexplicit |
Constructs and initialize a uniform scaling transformation
Definition at line 64 of file Eigen/src/Geometry/Scaling.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 113 of file Eigen/src/Geometry/Scaling.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 108 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Definition at line 66 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Definition at line 67 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Definition at line 99 of file Eigen/src/Geometry/Scaling.h.
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 120 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Concatenates two uniform scaling
Definition at line 70 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Concatenates a uniform scaling and a translation
Definition at line 176 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Concatenates a uniform scaling and an affine transformation
Definition at line 81 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Concatenates a uniform scaling and a linear transformation matrix
Definition at line 91 of file Eigen/src/Geometry/Scaling.h.
|
inline |
Definition at line 95 of file Eigen/src/Geometry/Scaling.h.
|
protected |
Definition at line 57 of file Eigen/src/Geometry/Scaling.h.