![]() |
|
Represents a generic uniform scaling transformation. More...
#include <Scaling.h>
Public Types | |
typedef Scalar_ | Scalar |
Public Member Functions | |
UniformScaling () | |
UniformScaling (const Scalar &s) | |
const Scalar & | factor () const |
Scalar & | factor () |
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 | inverse () const |
template<typename NewScalarType > | |
UniformScaling< NewScalarType > | cast () const |
template<typename OtherScalarType > | |
UniformScaling (const UniformScaling< OtherScalarType > &other) | |
bool | isApprox (const UniformScaling &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
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.
\geometry_module
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.
typedef Scalar_ Eigen::UniformScaling< Scalar_ >::Scalar |
the scalar type of the coefficients
|
inline |
Default constructor without initialization.
Referenced by Eigen::UniformScaling< Scalar_ >::inverse(), and Eigen::UniformScaling< Scalar_ >::operator*().
|
inlineexplicit |
Constructs and initialize a uniform scaling transformation
|
inlineexplicit |
Copy constructor with scalar type conversion
References Eigen::UniformScaling< Scalar_ >::factor(), and Eigen::UniformScaling< Scalar_ >::m_factor.
|
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
.
References Eigen::UniformScaling< Scalar_ >::m_factor.
|
inline |
References Eigen::UniformScaling< Scalar_ >::m_factor.
|
inline |
|
inline |
References Eigen::UniformScaling< Scalar_ >::m_factor, and Eigen::UniformScaling< Scalar_ >::UniformScaling().
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.References Eigen::UniformScaling< Scalar_ >::factor(), Eigen::internal::isApprox(), and Eigen::UniformScaling< Scalar_ >::m_factor.
|
inline |
Concatenates a uniform scaling and a linear transformation matrix
References Eigen::UniformScaling< Scalar_ >::m_factor.
|
inline |
References Eigen::UniformScaling< Scalar_ >::m_factor, and UniformPSDSelfTest::r.
|
inline |
Concatenates a uniform scaling and an affine transformation
References Eigen::UniformScaling< Scalar_ >::factor(), res, and plotPSD::t.
|
inline |
Concatenates a uniform scaling and a translation
References Global_Variables::Dim, res, and plotPSD::t.
|
inline |
Concatenates two uniform scaling
References Eigen::UniformScaling< Scalar_ >::factor(), Eigen::UniformScaling< Scalar_ >::m_factor, and Eigen::UniformScaling< Scalar_ >::UniformScaling().
|
related |
Concatenates a linear transformation matrix and a uniform scaling
|
protected |