[vtkusers] QVTKWidget mouse event detection

Wylie, Brian bnwylie at sandia.gov
Mon Mar 30 16:04:59 EDT 2009


Giancarlo,
 
There's a nice example 'qtevents' in the vtk examples directory (VTK\Examples\GUI\Qt\Events). You might look at that for starters...
 
(Clinton, cc'd, wrote the example)

  Brian Wylie - Org 1424
  Sandia National Laboratories
  MS 1323 - Building CSRI/242
  (505)844-2238 FAX(505)284-2518  
       _______ __
      /_  __(_) /_____ _____
       / / / / __/ __ `/ __ \
      / / / / /_/ /_/ / / / /
     /_/ /_/\__/\__,_/_/ /_/
            Informatics Toolkit


 

________________________________

From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Giancarlo Amati
Sent: Monday, March 30, 2009 4:58 AM
To: qt-interest at trolltech.com; vtkusers at vtk.org
Subject: [vtkusers] QVTKWidget mouse event detection


Good morning everybody,

I have my GUI build up in QT and an object of the class QVTKWidget as a central object on my main window. Now,
I'm trying to capture the button pressed event of the mouse accurring in my qvtkwidget object but unfortunately I'm not able to do it.
So, I wonder if I have to write my own class and derive it from the QVTKWidget class and the rewriting its member for the mouse event or...is there a way to capture the mouse event occurring in the rendering window of VTK?

Kind Regards.
Giancarlo


________________________________

Chiavette USB. addio! Attiva SkyDrive! <http://clk.atdmt.com/GBL/go/136422321/direct/01/>  




More information about the vtkusers mailing list