[vtkusers] rotating a 2D actor

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Oct 2 05:45:40 EDT 2006


See the class documentation (link on the main website), there are 
usually many examples there.
DS

Pankaj Daga wrote:
> Hi Dominik,
> 
> Thanks for the reply. Can you point me to one such example... Please 
> bear in mind that I am not using vtkImageViewer2 or something like that.
> 
> Cheers,
> Pankaj
> 
> On 10/2/06, *Dominik Szczerba* <domi at vision.ee.ethz.ch 
> <mailto:domi at vision.ee.ethz.ch>> wrote:
> 
> 
> 
>     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 <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
> 
> 

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



More information about the vtkusers mailing list