[vtkusers] rotating a 2D actor

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Oct 2 04:49:27 EDT 2006



Pankaj Daga wrote:
> Hi there,
> 
> @Tony: I am a bit confused as to how a vtkCubeAxesActor2D fits into this??? Could you elaborate a bit
> 
> Posting my original message again, as the old one is in September thread.
> 
> I have a vtkActor2D object that I wish to rotate. Is there a simple way to
> rotate it about its center?
> 
> I know all vtkProp3D based objects have built in rotation functions. How can
> 
> I implement something similar in a vtkActor2D?
> 


> Basically, I have a 2D image that I wish to rotate on the screen.

just for that you need nothing special, just copy paste the numerous 
standard examples (data->actor->mapper->renderer).

DS

> 
> Thanks,
> 
> Pankaj
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list