<DIV>hello,</DIV>
<DIV> </DIV>
<DIV>I working on 3D triangular surface meshes. I am using VTK with QT and the VTK_QT library.</DIV>
<DIV> </DIV>
<DIV>The default behaviour defined by vtkRenderWindowInteractor is not suitable for my project.</DIV>
<DIV> </DIV>
<DIV>I want to define my own interaction behaviour. </DIV>
<DIV> </DIV>
<DIV>I have no idea how to do this ? </DIV>
<DIV> </DIV>
<DIV>I could not find any examples as such on this either. </DIV>
<DIV> </DIV>
<DIV>I am looking for a clean object oriented way to achieve this. </DIV>
<DIV> </DIV>
<DIV>Should I derive any subclasses for this purpose ? </DIV>
<DIV> </DIV>
<DIV>In specific should i derive vtkInteractorStyle ? </DIV>
<DIV> </DIV>
<DIV>Which class defines the actual user interaction, is it vtkRenderWindowInteractor or vtkInteractorStyle ?</DIV>
<DIV> </DIV>
<DIV>For my application i want two types of interaction behaviour:</DIV>
<DIV> </DIV>
<DIV>--- for visulalizing the model, the default interaction functionality provided by <BR> vtkRenderWindowInteractor is good but i want to change the interaction and remove all <BR> keyboard usage if possible, to make it more convenient for my users.</DIV>
<DIV> </DIV>
<DIV>--- Another interaction behaviour should allow my user to specify(pick) some feature points on </DIV>
<DIV> the surface using the mouse ( left button would be more appropriate ).</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Can anyone show me an example, so i can get the general idea of how to achieve the custom interaction ?</DIV>
<DIV> </DIV>
<DIV> i will figure out the rest of the details specific to my application. </DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Deepak Roy<BR> a bit </DIV>
<DIV> </DIV><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>