[vtkusers] VTK- MFC example Interactor Style
Gopalakrishnan, Gowri
Gowri.Gopalakrishnan at inteq.com
Wed Dec 4 04:38:26 EST 2002
Did you try to pass the event to
vtkHandleMessage2(hwnd,msg,wparam,lparam,iren);
When you don't want to treat it. Ie when the even comes to your winproc
treat it if you want or just call the above method.....
Gowri
-----Original Message-----
From: Suresh [mailto:Suresh at cspl.org]
Sent: 04 December 2002 04:52
To: vtkusers at public.kitware.com
Subject: [vtkusers] VTK- MFC example Interactor Style
Hi all,
I'm new to VTK.
It will be great if any body could help with some issues.
First i 'm trying to add user interface to VTK using MFC.
I looked at the examples by VTK vtkSDI, vtkMDI and sample MFC. The problem
i'm facing is,
I would like to intercept the events to RenderWindow conditionally, have my
own behaviour, and /OR pass the event to the VTK default handler.
When i put my handler in WindowProc i could not pass the event to VTK.
I tried with have my own implementation of InteractorStyle and set the sam
to Interactor object.
But then, either my Style handler is not called nor the default VTK
behaviour is not showing up...
What happening?? Do i need to do any thing else.I modified the vtkSDI
example for the above experiment..
Please somebody help me out..
Thanks.
suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021204/bc56f2ba/attachment.htm>
More information about the vtkusers
mailing list