[vtkusers] Re : Frustum and vtkInteractorStyleRubberBand3D question
R M
mlokida at yahoo.fr
Sun Oct 16 13:55:48 EDT 2011
Hi,
No one has an idea ? I have seen the vtkHardwareSelector. Is it the good solution with vtkInteractorStyleRubberBand3D ?
Is there an alternative to vtkHardwareSelector ?
Thank you.
________________________________
De : R M <mlokida at yahoo.fr>
À : "vtkusers at vtk.org" <vtkusers at vtk.org>
Envoyé le : Vendredi 14 Octobre 2011 15h07
Objet : [vtkusers] Frustum and vtkInteractorStyleRubberBand3D question
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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111016/f479788a/attachment.htm>
More information about the vtkusers
mailing list