[vtkusers] clipping plane struggling problem

Bill Chivas billno123 at hotmail.com
Wed Oct 20 05:24:25 EDT 2010


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

  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101020/6c42e57a/attachment.htm>


More information about the vtkusers mailing list