#include <Scaling.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> | |
Transform< Scalar, Dim,(int(Mode)==int(Isometry)?Affine:Mode)> | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
template<typename Derived > | |
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 |
Definition at line 33 of file Geometry/Scaling.h.
typedef _Scalar Eigen::UniformScaling< _Scalar >::Scalar |
the scalar type of the coefficients
Definition at line 37 of file Geometry/Scaling.h.
Eigen::UniformScaling< _Scalar >::UniformScaling | ( | ) | [inline] |
Default constructor without initialization.
Definition at line 46 of file Geometry/Scaling.h.
Eigen::UniformScaling< _Scalar >::UniformScaling | ( | const Scalar & | s | ) | [inline, explicit] |
Constructs and initialize a uniform scaling transformation
Definition at line 48 of file Geometry/Scaling.h.
Eigen::UniformScaling< _Scalar >::UniformScaling | ( | const UniformScaling< OtherScalarType > & | other | ) | [inline, explicit] |
Copy constructor with scalar type conversion
Definition at line 95 of file Geometry/Scaling.h.
UniformScaling<NewScalarType> Eigen::UniformScaling< _Scalar >::cast | ( | ) | const [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 90 of file Geometry/Scaling.h.
const Scalar& Eigen::UniformScaling< _Scalar >::factor | ( | ) | const [inline] |
Definition at line 50 of file Geometry/Scaling.h.
Scalar& Eigen::UniformScaling< _Scalar >::factor | ( | ) | [inline] |
Definition at line 51 of file Geometry/Scaling.h.
UniformScaling Eigen::UniformScaling< _Scalar >::inverse | ( | void | ) | const [inline] |
Definition at line 81 of file Geometry/Scaling.h.
bool Eigen::UniformScaling< _Scalar >::isApprox | ( | const UniformScaling< _Scalar > & | other, |
const typename NumTraits< Scalar >::Real & | prec = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 102 of file Geometry/Scaling.h.
UniformScaling Eigen::UniformScaling< _Scalar >::operator* | ( | const UniformScaling< _Scalar > & | other | ) | const [inline] |
Concatenates two uniform scaling
Definition at line 54 of file Geometry/Scaling.h.
Transform< Scalar, Dim, Affine > Eigen::UniformScaling< Scalar >::operator* | ( | const Translation< Scalar, Dim > & | t | ) | const [inline] |
Concatenates a uniform scaling and a translation
Definition at line 154 of file Geometry/Scaling.h.
Transform<Scalar,Dim,(int(Mode)==int(Isometry)?Affine:Mode)> Eigen::UniformScaling< _Scalar >::operator* | ( | const Transform< Scalar, Dim, Mode, Options > & | t | ) | const [inline] |
Concatenates a uniform scaling and an affine transformation
Definition at line 63 of file Geometry/Scaling.h.
internal::plain_matrix_type<Derived>::type Eigen::UniformScaling< _Scalar >::operator* | ( | const MatrixBase< Derived > & | other | ) | const [inline] |
Concatenates a uniform scaling and a linear transformation matrix
Definition at line 73 of file Geometry/Scaling.h.
Matrix<Scalar,Dim,Dim> Eigen::UniformScaling< _Scalar >::operator* | ( | const RotationBase< Derived, Dim > & | r | ) | const [inline] |
Definition at line 77 of file Geometry/Scaling.h.
Scalar Eigen::UniformScaling< _Scalar >::m_factor [protected] |
Definition at line 41 of file Geometry/Scaling.h.