[vtkusers] Translation

Dominik Szczerba dominik at itis.ethz.ch
Sat Oct 11 07:00:16 EDT 2008


What interactor are you using?

Dominik

On Saturday 11 October 2008 12:48:52 pm prabhat246 wrote:
> Hi all,
>
> I get two different polydatas from two different algorithms.
> For both I create one vtkPolyDataMapper and vtkActor each.
>
> now I want to allow user to be able to drag and translate one of the object
> with mouse,
> also when I drag with pressing Shift key... everything gets moved.
>
> Although I've set
>
>              polyActor1->SetDragable(true);
>              polyActor2->SetDragable(false);
>
> How can I do this ??
> Also Can I write Opengl code somewhere, if I want to?? If yes then how???
>
>
> Thanks a lot.
> Regards
> Prabhat Kumar Gupta



-- 
Dominik Szczerba, Ph.D.
Computational Physics Group
Foundation for Research on Information Technologies in Society
http://www.itis.ethz.ch



More information about the vtkusers mailing list