<DIV>hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I working on 3D triangular surface meshes. I am using VTK with QT and the VTK_QT library.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The default behaviour defined by vtkRenderWindowInteractor is not suitable for my project.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to define my own interaction behaviour. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I have no idea how to do this ? </DIV>
<DIV>&nbsp;</DIV>
<DIV>I could not find any examples as such on this either. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I am looking for a clean object oriented way to achieve this. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Should I derive any subclasses for this purpose ? </DIV>
<DIV>&nbsp;</DIV>
<DIV>In specific should i derive vtkInteractorStyle ? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Which class defines the actual user interaction, is it vtkRenderWindowInteractor or vtkInteractorStyle ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>For my application i want two types of interaction behaviour:</DIV>
<DIV>&nbsp;</DIV>
<DIV>--- for visulalizing the model, the default interaction functionality provided by&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;vtkRenderWindowInteractor is good but i want to change the interaction and remove all <BR>&nbsp;&nbsp;&nbsp; keyboard usage if possible, to make it more convenient for my users.</DIV>
<DIV>&nbsp;</DIV>
<DIV>--- Another interaction behaviour should allow my user to specify(pick) some feature points on </DIV>
<DIV>&nbsp;&nbsp;&nbsp; the surface&nbsp;using the mouse ( left button would be more appropriate ).</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can anyone&nbsp;show me an example, so i can get the general idea of how to achieve the custom interaction ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;i will figure out the rest of the details specific to my application. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Deepak Roy<BR>&nbsp;&nbsp;&nbsp; a bit </DIV>
<DIV>&nbsp;</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>