[vtkusers] Selection visible cells using vtkInteractorStyleRubberBandPick

Ray9 jmap at ua.pt
Sat Feb 9 22:31:36 EST 2013


Hi! 

I already see some of that functions but my problem is to get the
setArea(...) coords since i need them to be the area that i select using the
.vtkInteractorStyleRubberBandPick?

Is suppose to be something like 

vtkInteractorStyleRubberBandPick *rb =
vtkInteractorStyleRubberBandPick::New();
...
hardwareselector->SetArea(rb->StartPosition[0], rb->StartPosition[1] ,
rb->EndPosition[0], rb->EndPosition[1]);
 
I run some tests and it seems that didn't select nothing so i don't know if
i´m doing it right! 

I also try to implement the vtkAreaPicker function but again i don't know
how to get the coords from here to insert in the
vtkhardwareselector->SetArea(...)

If you can help in those 2 situations i appreciate because after read many
functions to use in vtk i´m stuck at this point. 

Thanks!



--
View this message in context: http://vtk.1045678.n5.nabble.com/Selection-visible-cells-using-vtkInteractorStyleRubberBandPick-tp5718398p5718400.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list