[vtkusers] clipping plane struggling problem
Bill Chivas
billno123 at hotmail.com
Wed Oct 20 06:59:06 EDT 2010
Maybe i could use vtkExtractGeometry combined with vtkImplicitFunction. But i don't know how to use the latter to create an Implicit Function for my purpose. So far i have a property for every cell in the grid with its centroid value. But i cannot make it as an implicit function..
Hello all,
i want to use a clipping plane and i found that vtkImplicitPlaneWidget or vtkImplicitPlaneWidge2 should do the job.
The problem is that i want the clipping NOT like vtkClipPolyData which "cuts" through the cells of the dataset but like vtkExtractGeometry, which pulls out entire, uncut cells.
I tried in Paraview pipeline with Source-->Clip-->Extract cells by region which works in some way. What i want is to define whether the centroid (known) of a cell lies in so if it is in the "cut side" of the plane it is pulled out entire. Otherwise, it is not.
A second question does anyone know if the "Extract cells by region" function of Paraview is the vtkExtractGeometry class?
A Paraview screenshot: on the left is cut, on the right cells are pulled out entirely
http://yfrog.com/74cutorpulledoutentirelyj
_______________________________________________
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/20101020/0bb52ee5/attachment.htm>
More information about the vtkusers
mailing list