create a polygonal representation of a cube
More...
#include <vtkCubeSource.h>
Inherits vtkPolyDataAlgorithm.
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.
- Examples:
- vtkCubeSource (Examples)
- Tests:
- vtkCubeSource (Tests)
Definition at line 35 of file vtkCubeSource.h.
vtkCubeSource::vtkCubeSource |
( |
double |
xL = 1.0 , |
|
|
double |
yL = 1.0 , |
|
|
double |
zL = 1.0 |
|
) |
| |
|
protected |
vtkCubeSource::~vtkCubeSource |
( |
| ) |
|
|
inlineprotected |
static int vtkCubeSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkCubeSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkCubeSource* vtkCubeSource::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkCubeSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkCubeSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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.
int vtkCubeSource::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkCubeSource::XLength |
|
protected |
double vtkCubeSource::YLength |
|
protected |
double vtkCubeSource::ZLength |
|
protected |
double vtkCubeSource::Center[3] |
|
protected |
The documentation for this class was generated from the following file: