[vtkusers] Select all cells inside vtkWidget2

Avanindra Singh avanindra.singh at gmail.com
Sat Feb 16 06:36:27 EST 2013


Never mind...vtkWidget2 gives directly the frustum through
vtkBoxRepresentation , which was precisely what I needed.


On Sat, Feb 16, 2013 at 3:20 PM, Avanindra Singh
<avanindra.singh at gmail.com>wrote:

> Hi All,
>
> I have a vtkWidget2 widget placed in a window where I have another
> vtkPolyData mesh loaded too. What I want is to highlight all the cells
> which fall inside the widget , just like rubberband selection , only in
> this case for the 3d box ,  the widget represents.
>
> Can anyone point me a method to do this... I believe if I can get the user
> transform of the box widget and its corner coordinates , I can do the
> selection operation , but I am not finding a direct way to do this.
>
> I would really appreciate any help.
>
> thanks
> Avanindra Singh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130216/c9ff4157/attachment.htm>


More information about the vtkusers mailing list