#include <vtkCubeSource.h>
Inheritance diagram for vtkCubeSource:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetXLength (float) |
virtual float | GetXLength () |
virtual void | SetYLength (float) |
virtual float | GetYLength () |
virtual void | SetZLength (float) |
virtual float | GetZLength () |
virtual void | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
void | SetBounds (float xMin, float xMax, float yMin, float yMax, float zMin, float zMax) |
void | SetBounds (float bounds[6]) |
Static Public Methods | |
vtkCubeSource * | New () |
int | IsTypeOf (const char *type) |
vtkCubeSource * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkCubeSource (float xL=1.0, float yL=1.0, float zL=1.0) | |
~vtkCubeSource () | |
vtkCubeSource (const vtkCubeSource &) | |
void | operator= (const vtkCubeSource &) |
void | Execute () |
Protected Attributes | |
float | XLength |
float | YLength |
float | ZLength |
float | Center [3] |
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.
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkPolyDataSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Convenience method allows creation of cube by specifying bounding box. |
|
Set the center of the cube. |
|
Set the length of the cube in the x-direction. |
|
Set the length of the cube in the y-direction. |
|
Set the length of the cube in the z-direction. |