[vtkusers] transform bug in assembly?
Stefan Conrad
conrad at caesar.de
Fri Apr 13 13:29:22 EDT 2001
Hello,
when I set a user transform matrix for an actor, that becomes
part of an assembly, the actor keeps rotating on and on, as
subsequent frames are rendered.
Take a look at my c++ code snippet:
> // apply rotation to my vtkTransform object
> transform->RotateZ( 20 );
> // apply this transformation to an actor
> actor->SetUserTransform( transform );
> // add actor to assembly
> assembly->AddPart( actor );
Result: The actor is rotating on and on.
This does not occur, if I add the actor to a renderer directly,
instead of adding it to the assembly, or if I apply the rotation
with actor->RotateZ() instead of using a transform.
This behavior looks like a bug in vtkActor to me.
Do you have any comments?
--
Stefan Conrad
Center of Advanced European
Studies and Research (caesar)
Friedensplatz 16
53111 Bonn
Tel.: +49 (0)228 9656-249
Fax.: +49 (0)229 9656-111
mailto: conrad at caesar.de
More information about the vtkusers
mailing list