Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

template<typename Scalar , int Dim, int Mode, int Options>
template<typename OtherDerived >
Transform< Scalar, Dim, Mode, Options > & Transform< Scalar, Dim, Mode, Options >::prescale ( const MatrixBase< OtherDerived > &  other ) [inline]

Applies on the left the non uniform scale transformation represented by the vector other to *this and returns a reference to *this.

See also:

Definition at line 422 of file Transform.h.

References MatrixBase< Derived >::asDiagonal().

Referenced by UniformScaling< _Scalar >::operator*(), and Scaling< _Scalar, _Dim >::operator*().

  m_matrix.template block<Dim,HDim>(0,0) = (other.asDiagonal() * m_matrix.template block<Dim,HDim>(0,0)).lazy();
  return *this;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index