[vtkusers] Where is the actors matrix being saved?
David Doria
daviddoria+vtk at gmail.com
Sun Sep 5 14:22:14 EDT 2010
On Sun, Sep 5, 2010 at 2:05 PM, Sebastien Jourdain
<sebastien.jourdain at kitware.com> wrote:
> Did you look into the UserTransform ? As I remember, I was using that instead...
>
> Just in case...
>
> Seb
Thanks for the suggestion Sebastien, but I did try looking at both the
UserMatrix and the UserTransform but they both seem to be NULL:
I just added this code to the original link for verification:
vtkMatrix4x4* userMatrix = this->CubeActor->GetUserMatrix();
if(userMatrix)
{
std::cout << "Has userMatrix" << std::endl;
}
else
{
std::cout << "No userMatrix!" << std::endl;
}
vtkLinearTransform* userTransform =
this->CubeActor->GetUserTransform();
if(userTransform)
{
std::cout << "Has userTransform" << std::endl;
}
else
{
std::cout << "No userTransform!" << std::endl;
}
It outputs:
No userMatrix!
No userTransform!
Any other thoughts?
David
More information about the vtkusers
mailing list