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…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X