vtkCylinderSource

Section: Visualization Toolkit Graphics Classes

Usage

vtkCylinderSource creates a polygonal cylinder centered at Center; The axis of the cylinder is aligned along the global y-axis. The height and radius of the cylinder can be specified, as well as the number of sides. It is also possible to control whether the cylinder is open-ended or capped.

To create an instance of class vtkCylinderSource, simply invoke its constructor as follows

  obj = vtkCylinderSource

Methods

The class vtkCylinderSource has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkCylinderSource class.