[vtkusers] R: About decoupling events

David Feng dfeng at cs.unc.edu
Wed Oct 21 13:04:36 EDT 2009


vtkInteractorStyleTrackballActor is a vtkInteractorStyle, which is a 
property of the vtkRenderWindowInteractor().  You would call:

rwi->SetInteractorStyle(style);

David

Zampini Samuele wrote:
> Actually, I forgot to ask you one more question: can I use the method you suggested ( vtkInteractorStyleTrackballActor ) instead of vtkRenderWindowInteractor()?
>
> Is that right? Or where should I use it???
>
> Thanks again,
>
> Samuele
> ________________________________________
> Da: David Feng [dfeng at cs.unc.edu]
> Inviato: mercoledì 21 ottobre 2009 17.09
> A: Zampini Samuele
> Cc: vtkusers at vtk.org
> Oggetto: Re: [vtkusers] About decoupling events
>
> I don't know much about the link you sent, but if you don't need any
> special interaction, the vtkInteractorStyleTrackballActor allows you to
> scale/translate/rotate whatever actor you clicked on.
>
> David
>
> Zampini Samuele wrote:
>   
>> Dear all,
>>
>> I am writing since I would like to know if there's something new going on about decoupling events.
>>
>> I am referring to this page: http://www.itk.org/Wiki/VTKWidgets
>>
>> What I would like to know is if there is a function that allow me to interact simply with one object. I mean: I wanna create a window with 2 objects in it (let's say 2 cones or a cone and a DICOM image).
>>
>> What I wanna do now is to be able to interact either on one object or on the other one.
>>
>> Well, right now I am not able to do that.
>>
>> Could you help?
>>
>> Thanks a lot,
>>
>> Samuele
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>>     
>
>
>   




More information about the vtkusers mailing list