[vtkusers] interaction off
Gopalakrishnan, Gowri
Gowri.Gopalakrishnan at inteq.com
Mon Oct 8 07:35:57 EDT 2001
Hello Prabhu
What you suggested worked fairly when I use win32 main application and
I am going to test it with console application and see what happens.
I guess since you use phython it is not really a problem - lucky you.
However i shall post the result in case it is of use to someone
gowri
-----Original Message-----
From: Prabhu Ramachandran [mailto:prabhu at aero.iitm.ernet.in]
Sent: Monday, October 08, 2001 11:28 AM
To: Gopalakrishnan, Gowri
Cc: VTK users list
Subject: [vtkusers] interaction off
hi,
>>>>> "GG" == Gowri Gopalakrishnan <Gopalakrishnan> writes:
GG> Hello , How can we turn off interaction (mouse and key events)
GG> in vtk completely?.
<snip>
GG> in my canvas/frame in java and do what I want. When vtk is off
GG> the same canvas/frame is able to catch the events. Therefore I
GG> want to turn the ability of vtk to react to key and mouse
GG> press events off.
If you use the vtkRenderWindow and dont use the RenderWIndowInteractor
I dont think any of the events are captured. This is what the Tk,
GTK, wx widgets under Python do. They embed a vtkRenderWindow inside
a native widget and then trap the various events in the native gui
toolkit. So VTK doesnt process the events at all.
OTOH if you want to use something like the interactor and turn it on
and off - I dont know the answer off hand.
prabhu
More information about the vtkusers
mailing list