[vtkusers] vtkChartXY point selection with mouse button and qvtkWidget renderview problem on qt MDI area

Giuseppe Marco Randazzo gmrandazzo at gmail.com
Fri Jun 3 12:34:32 EDT 2011


Hi, 
i'm new in vtk. i read about some example for learning how to use vtk api and 
these are pretty good.  But now i've a problem: i need to handle the mouse 
buttons for:
- set one of these 3 button for select some points on a vtkChartXY
- set an other for select one by one the point on this vtkChartXY and show the 
label o the picked point.

By searching on the vtk example i found only this that explain how to handle 
the mouse button:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MouseEvents


The second problem is this on the renderview of a qvtkWidget inside a qt 
MDIArea. Here is an image for show you what happens:

http://imageshack.us/photo/my-images/18/screenshot1uj.png/

It's possible solve this problem of overlap between window? how?

Thanks

zeld




More information about the vtkusers mailing list