VTK – vtkClipPolyData Example

The article shows how to clip a cone by a plane. The vtkClipPolyData object provides a major algorithm to process the 3D model. Here is python script that describes all details about it. #!/usr/bin/env python import vtk cone = vtk.vtkConeSource() coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInputConnection( cone.GetOutputPort() ) coneActor = vtk.vtkActor() coneActor.SetMapper( Read more…

Content Summary
: Input your strings, the tool can get a brief summary of the content for you.

X