vtkCubeSource Class Reference
#include <vtkCubeSource.h>
Inheritance diagram for vtkCubeSource:
[legend]Collaboration diagram for vtkCubeSource:
[legend]List of all members.
Detailed Description
create a polygonal representation of a cube
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.
- Created by:
-
- CVS contributions (if > 5%):
- Schroeder, Will (65%)
- Martin, Ken (13%)
- Lorensen, Bill (6%)
- CVS logs (CVSweb):
.cxx (/Graphics/vtkCubeSource
.cxx)
.h (/Graphics/vtkCubeSource
.h)
- Examples:
- vtkCubeSource (Examples)
- Tests:
- vtkCubeSource (Tests)
Definition at line 46 of file vtkCubeSource.h.
|
Public Types |
typedef vtkPolyDataSource | Superclass |
Public Member Functions |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | SetXLength (double) |
virtual double | GetXLength () |
|
virtual void | SetYLength (double) |
virtual double | GetYLength () |
|
virtual void | SetZLength (double) |
virtual double | GetZLength () |
|
virtual void | SetCenter (double, double, double) |
virtual void | SetCenter (double[3]) |
virtual double * | GetCenter () |
virtual void | GetCenter (double data[3]) |
|
void | SetBounds (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) |
void | SetBounds (double bounds[6]) |
Static Public Member Functions |
vtkCubeSource * | New () |
int | IsTypeOf (const char *type) |
vtkCubeSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions |
| vtkCubeSource (double xL=1.0, double yL=1.0, double zL=1.0) |
| ~vtkCubeSource () |
void | Execute () |
Protected Attributes |
double | XLength |
double | YLength |
double | ZLength |
double | Center [3] |
Member Typedef Documentation
Constructor & Destructor Documentation
vtkCubeSource::vtkCubeSource |
( |
double |
xL = 1.0 , |
|
|
double |
yL = 1.0 , |
|
|
double |
zL = 1.0 |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm. |
virtual const char* vtkCubeSource::GetClassName |
( |
|
) |
[virtual] |
|
int vtkCubeSource::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSource. |
virtual int vtkCubeSource::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSource. |
void vtkCubeSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
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 vtkPolyDataSource. |
virtual void vtkCubeSource::SetXLength |
( |
double |
|
) |
[virtual] |
|
|
Set the length of the cube in the x-direction. |
virtual double vtkCubeSource::GetXLength |
( |
|
) |
[virtual] |
|
|
Set the length of the cube in the x-direction. |
virtual void vtkCubeSource::SetYLength |
( |
double |
|
) |
[virtual] |
|
|
Set the length of the cube in the y-direction. |
virtual double vtkCubeSource::GetYLength |
( |
|
) |
[virtual] |
|
|
Set the length of the cube in the y-direction. |
virtual void vtkCubeSource::SetZLength |
( |
double |
|
) |
[virtual] |
|
|
Set the length of the cube in the z-direction. |
virtual double vtkCubeSource::GetZLength |
( |
|
) |
[virtual] |
|
|
Set the length of the cube in the z-direction. |
virtual void vtkCubeSource::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
|
Set the center of the cube. |
virtual void vtkCubeSource::SetCenter |
( |
double |
[3] |
) |
[virtual] |
|
|
Set the center of the cube. |
virtual double* vtkCubeSource::GetCenter |
( |
|
) |
[virtual] |
|
|
Set the center of the cube. |
virtual void vtkCubeSource::GetCenter |
( |
double |
data[3] |
) |
[virtual] |
|
|
Set the center of the cube. |
void vtkCubeSource::SetBounds |
( |
double |
xMin, |
|
|
double |
xMax, |
|
|
double |
yMin, |
|
|
double |
yMax, |
|
|
double |
zMin, |
|
|
double |
zMax |
|
) |
|
|
|
Convenience method allows creation of cube by specifying bounding box. |
void vtkCubeSource::SetBounds |
( |
double |
bounds[6] |
) |
|
|
|
Convenience method allows creation of cube by specifying bounding box. |
void vtkCubeSource::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method
Reimplemented from vtkSource. |
Member Data Documentation
The documentation for this class was generated from the following file: