RE: [eigen] get scaling out of transform?

[ Thread Index | Date Index | More Archives ]

Thank you for your help Benoit,

I checked out the latest source and tried to use the new function.  But I got this compilation error:

Compiling ./src/IEntityPlugin.cpp

/External/Eigen/2.1/include/Eigen/src/SVD/SVD.h: In member function 'void Eigen::SVD<MatrixType>::computeScalingRotation(ScalingType*, RotationType*) const [with ScalingType = HSimScaling3x3, RotationType = HSimRotation3x3, MatrixType = Eigen::Matrix<double, 3, 3, 2, 3, 3>]':

/External/Eigen/2.1/include/Eigen/src/Geometry/Transform.h:651:   instantiated from 'void Eigen::Transform<Scalar, Dim>::computeScalingRotation(ScalingMatrixType*, RotationMatrixType*) const [with ScalingMatrixType = HSimScaling3x3, RotationMatrixType = HSimRotation3x3, _Scalar = double, int _Dim = 3]'
IEntityPlugin.cpp:361:   instantiated from here

/External/Eigen/2.1/include/Eigen/src/SVD/SVD.h:625: error: 'class Eigen::Scaling<double, 3>' has no member named 'lazyAssign'

It seems Scaling is missing 'lazyAssign'.  Or am I missing something?

-----Original Message-----
From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Benoit Jacob
Sent: Thursday, January 22, 2009 11:46 AM
To: eigen@xxxxxxxxxxxxxxxxxxx
Subject: Re: [eigen] get scaling out of transform?

> ---OR---
> t.computeRotationScaling(&scaling, &rotation);

OOPS. I meant this:

t.computeScalingRotation(&scaling, &rotation);


Mail converted by MHonArc 2.6.19+