vtkCubeSource

Section: Visualization Toolkit Graphics Classes

Usage

vtkCubeSource creates a cube centered at origin. The cube is represented with four-sided polygons. It is possible to specify the length, width, and height of the cube independently.

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

  obj = vtkCubeSource

Methods

The class vtkCubeSource 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 vtkCubeSource class.