[vtkusers] How to define custom user interaction in vtk ? Please	Help !!! Urgent
    Bruno da Silva de Oliveira 
    bruno at esss.com.br
       
    Thu Oct 27 13:45:00 EDT 2005
    
    
  
Take a look at Examples\GUI\Python\CustomInteraction.py
HTH,
Deepak Roy wrote:
> hello,
>  
> I working on 3D triangular surface meshes. I am using VTK with QT and 
> the VTK_QT library.
>  
> The default behaviour defined by vtkRenderWindowInteractor is not 
> suitable for my project.
>  
> I want to define my own interaction behaviour.
>  
> I have no idea how to do this ?
>  
> I could not find any examples as such on this either.
>  
> I am looking for a clean object oriented way to achieve this.
>  
> Should I derive any subclasses for this purpose ?
>  
> In specific should i derive vtkInteractorStyle ?
>  
> Which class defines the actual user interaction, is it 
> vtkRenderWindowInteractor or vtkInteractorStyle ?
>  
> For my application i want two types of interaction behaviour:
>  
> --- for visulalizing the model, the default interaction functionality 
> provided by 
>     vtkRenderWindowInteractor is good but i want to change the 
> interaction and remove all
>     keyboard usage if possible, to make it more convenient for my users.
>  
> --- Another interaction behaviour should allow my user to 
> specify(pick) some feature points on
>     the surface using the mouse ( left button would be more appropriate ).
>  
>  
> Can anyone show me an example, so i can get the general idea of how to 
> achieve the custom interaction ?
>  
>  i will figure out the rest of the details specific to my application.
>  
> Thanks in advance.
>  
> Regards,
>  
> Deepak Roy
>     a bit
>  
>
> ------------------------------------------------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click. 
> <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/> 
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>
-- 
Bruno da Silva de Oliveira
bruno at esss.com.br
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
    
    
More information about the vtkusers
mailing list