[vtkusers] SetUserMatrix- ignored by the Renderer
Boettcher, Dr. Peter
Boettcher at kleintierklinik.uni-leipzig.de
Thu Feb 5 11:37:49 EST 2004
Hi,
this is my second try - hope someone knows the answer ;-)
Setting a UserMatrix by vtkAxtor->SetUserMatrix (matrix) results in no change after renWin->Render() has been applied. I found a German page on this topic (http://www.cs.fh-aargau.ch/~implants/rom/node41.html) and they though it might be a windows problem, related to OpenGl (QGLWidget). Unfortunately they didn't solve the problem. Anyone out there, who nows how to manipulate a vtkActor through its UserMatrix?
Regards, Peter.
My code:
Start
{
actor = vtkActor::New();
....
renWin->Render();
}
-> nice looking picture. The actor is visible!
Update
{
vtkMatrix4x4* matrix = vtkMatrix4x4::New();
matrix->SetElement(i,j,n);
...
matrix->Modified();
actor->SetUsreMatrix(matrix);
renWin->Render()
}
-> no change!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040205/0178f1bc/attachment.htm>
More information about the vtkusers
mailing list