[vtkusers] Clipping poly data

R K Shyam Prakash ramakrishna.prakash at quest-global.com
Tue May 4 09:14:44 EDT 2004


Hi,
        I want to clip a polydata with a cube. The approach I am
following is, 
1. Construct vtkPlanes by specifying the bounding box of the cube
2. Use vtkClipPolyData
 
The output contains lots of jagged edges (even after passing the
polydata through vtkLinearSubdivisionFilter). When I searched through
the mail list archives, it was mentioned that since vtkClipPolyData uses
linear interpolation, it produces jagged edges. But I have used
vtkClipPolyData with a single vtkPlane earlier and it workd perfectly
fine (all the point coordinates are perfectly computed at the
plane-vtkpolydata intersections). Then why it does not happen with
vtkPlanes? Is there an alternative method to clip a polydata with a
cube?.
 
Thanks
Shyam
 
Disclaimer: 

This electronic message and all attachments contain information from
QuEST, which may be confidential or otherwise protected from disclosure.
The information is intended for the addressee only. If you are not the
addressee, any disclosure, copy, distribution or use of the contents of
this message is prohibited. If you have received this electronic message
in error, please notify the sender immediately and destroy the message.

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040504/287776f3/attachment.htm>


More information about the vtkusers mailing list