[vtkusers] VtkTkRenderWidget and Python....
Bill Hoffman
bill.hoffman at kitware.com
Wed Apr 10 16:16:06 EDT 2002
I am working on a class called vtkGenericRenderWindowInteractor that will allow
the styles to work from tcl/tk, python, or java. I should be able to check it
in this week.
-Bill
At 03:03 PM 4/10/2002 -0400, David Gobbi wrote:
>Hi Marcelo,
>
>The python vtkTkRenderWidget only has code for moving the camera,
>it doesn't have any code for moving the individual actors like the
>RenderWindowInteractor does. If you want to move the plane around, you
>would have to add a fair bit of code to vtkTkRenderWidget.py.
>
> - David
>
>--
> David Gobbi, MSc dgobbi at irus.rri.ca
> Advanced Imaging Research Group
> Robarts Research Institute, University of Western Ontario
>
>On Wed, 10 Apr 2002, Ailton Santa Barbara wrote:
>
>> Hi all,
>>
>>
>> We are using the vtkTkRenderWidget class to prevent the main program
>> crash and It works. The problem is that the "a" key
>> doesn't work in the interaction with mouse and keyboard - this key
>> allows to move a plane.
>> In this mail you can see a part of the vtkTkRenderWidget class. We put
>> a new bind (for "a"-key) and we create the def "Animation".
>> We believed that this def would do the same stuffs that the key-a
>> implementation in the vtkInteractorStyle, whose code is here too,
>> but only the entire cube is moved (we can't select the plane).
>>
>>
>> Could anyone help me with this or with other solution???
>>
>> Thank you.
>>
>> Marcelo
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list