[vtkusers] Defining the Box and getting points inside the box
Gerrick Bivins
Gerrick.Bivins at halliburton.com
Wed Nov 6 15:16:39 EST 2013
Hi,
I think you could use vtkExtractPolyDataGeometry to achieve that:
http://www.vtk.org/doc/nightly/html/classvtkExtractPolyDataGeometry.html#details
or the more general vtkExtractGeometry:
http://www.vtk.org/doc/nightly/html/classvtkExtractGeometry.html
Gerrick
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of mahendra
Sent: Wednesday, November 06, 2013 12:47 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Defining the Box and getting points inside the box
Hello All,
I have points in 3D space (see the attached image) and now i want to defined the box which can be place anywhere in this space of points. Then i would like to get the all the points which are falling inside of this box ( see the attached image). I don't want to the slicing, just want to place the box and extract the points falling inside the box.
I would greatly appreciate if some one can guide me as how to proceed or some vtk classes to start with. I tried to look by myself but so far no luck!
Looking forward for the suggestions!
<http://vtk.1045678.n5.nabble.com/file/n5724334/view.png>
P.S: I have posted the massage before but it was in the context of slicing of points!!!
--
View this message in context: http://vtk.1045678.n5.nabble.com/Defining-the-Box-and-getting-points-inside-the-box-tp5724334.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
More information about the vtkusers
mailing list