[vtk-developers] vtkClipConvexPolyData does not work

Bill Lorensen bill.lorensen at gmail.com
Fri Sep 22 21:45:59 EDT 2017


I tried to write an example that uses vtkClipConvexPolyData  and
vtkFrustium. As suggested by the documentation, it can be used to clip
to the view frustum. However, t only seems to work for one plane and
is very slow. It is used in one place in VTK:
vtkOpenGLGPUVolumeRayCastMapper and it only uses one plane.

vtkClipPolyData has very good performance and produces the correct
results for clipping by the frustum.

For backward compatibility , I suggest reimplementing it as a sunclass
of vtkClipPolyData.

Comments?

Bill


-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list