[vtkusers] vtkInteractorStyleUser

David Gobbi david.gobbi at gmail.com
Tue Sep 14 17:10:59 EDT 2010


On Tue, Sep 14, 2010 at 3:05 PM, David Doria <daviddoria+vtk at gmail.com> wrote:

> Thanks Jim. So in summary vtkInteractorStyleUser is old and it is no
> different than any other vtkInteractorStyle* . To use it, one should just
> use observers like this :
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/InteractorStyleUser
> Would someone be so kind as to post an example of how to use observers (or
> otherwise handle interaction) in Python?
> Thanks,

The vtkInteractorStyleUser is still the correct way to write a fully
customized vtkInteractorStyle in the wrapper languages.  It isn't the
only option, i.e. you can add observers to the other interactor
styles, but it is different from the rest because it doesn't define
any "default" interaction of its own.

  David



More information about the vtkusers mailing list