[vtkusers] Frustum and vtkInteractorStyleRubberBand3D question

R M mlokida at yahoo.fr
Fri Oct 14 09:07:16 EDT 2011


Hello,

I use vtkInteractorStyleRubberBand3D in order to extract cells of my geometry using the frustum.
The lonely things I haveseen in vtkInteractorStyleRubberBand3D is the start and end position of the rectangle.
So, How can I create the frustum to extract my geometry ?

With vtkInteractorStyleRubberBandPick I have use vtkPlanes* frustum = static_cast<vtkAreaPicker*>(this->GetInteractor()->GetPicker())->GetFrustum(); 
Like in the example http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelectedPoints
But with vtkInteractorStyleRubberBand3D it doesn't work.

Any idea for creating a frustum when using vtkInteractorStyleRubberBand3D ?


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111014/780a9aa5/attachment.htm>


More information about the vtkusers mailing list