[vtkusers] Point Selection on vtkChartXY

Giuseppe Marco Randazzo gmrandazzo at gmail.com
Mon Sep 3 11:56:52 EDT 2012


Hello,

i've some questions about Rubberband selection on vtkchartxy. I'm not 
able to use this features.

I'm using vtk inside a qt widget, so i implemented a slot and after 
connectet this through:

   Connections = vtkEventQtSlotConnect::New();
Connections->Connect(ui.qvtkWidget->GetRenderWindow()->GetInteractor(),
                         vtkCommand::RightButtonReleaseEvent,
                         this,
                         SLOT(getPointSelected()),0, 1.0);


When i select some points on plot with the rubberband selector, the 
points are highlited and the slot getPointSelected() work.
My questions are:

Is possible get the points highlighted? and how?
is there a better solution than mine?

Thanks

Giuseppe Marco Randazzo




More information about the vtkusers mailing list