[vtkusers] VtkInteractorStyleRubberBandPick

Darshan Pai darshanpai at gmail.com
Thu Jun 17 18:27:55 EDT 2010


Thanks for the reply . tThe FrustrumSelection works best . Though I have a
problem. I need to save this new extracted dataset but I am not able too .
If I convert to a Polydata it crashes . If i cast it as a PointSet it works
but I cannot visualize it at all . It there some way to save the data . I am
trying for sometime and I cannot get anything

Regards
Darshan

On Thu, Jun 17, 2010 at 8:48 AM, David E DeMarle
<dave.demarle at kitware.com>wrote:

> I believe you are looking for Frustum Selection. That picks all
> cells/points behind the rubber band not just the ones nearest the
> camera like HardwareSelector does.
>
> See Rendering/Testing/Cxx/TestAreaSelections.cxx for an example of both of
> them.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x109
>
>
>
> On Wed, Jun 16, 2010 at 10:16 PM, Darshan Pai <darshanpai at gmail.com>
> wrote:
> > I am trying an application where given a polyData I want to select part
> of
> > the polyData and the application removes the other part.
> >
> > Now VtkInteractorStyleRubberBandPick and vtkAreaPicker does the job for
> me ,
> > but the selection only selects the front facing visible section of the
> > polydata.
> > Is it possible that the backside of the polyData can also be selected.
> >
> > My PolyData is a Tube hence I need the back side . i see that Paraview
> can
> > do it
> >
> > Any Inputs appreciated
> >
> > Regards
> > Darshan
> >
> > _______________________________________________
> > 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/20100617/22f5a755/attachment.htm>


More information about the vtkusers mailing list