Documentation for vtkCubeSource

vtkCubeSource - create a polygonal representation of a cube

Super Class: vtkPolyDataSource

Description:

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.

 

Methods:

void vtkCubeSource (float ,float ,float )
static vtkCubeSource *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetXLength (float )
float GetXLength ()
void SetYLength (float )
float GetYLength ()
void SetZLength (float )
float GetZLength ()
void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()
void SetBounds (float ,float ,float ,float ,float ,float )
void SetBounds (float )
void Execute ()

 

Detailed Method Descriptions:

Set the length of the cube in the x-direction.

void SetXLength (float )
float GetXLength ()

Set the length of the cube in the y-direction.

void SetYLength (float )
float GetYLength ()

Set the length of the cube in the z-direction.

void SetZLength (float )
float GetZLength ()

Set the center of the cube.

void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()

Convenience method allows creation of cube by specifying bounding box.

void SetBounds (float ,float ,float ,float ,float ,float )
void SetBounds (float )