29 #ifndef __vtkCubeSource_h
30 #define __vtkCubeSource_h
32 #include "vtkFiltersSourcesModule.h"
40 void PrintSelf(ostream& os, vtkIndent indent);
44 vtkSetClampMacro(XLength,
double,0.0,VTK_DOUBLE_MAX);
45 vtkGetMacro(XLength,
double);
50 vtkSetClampMacro(YLength,
double,0.0,VTK_DOUBLE_MAX);
51 vtkGetMacro(YLength,
double);
56 vtkSetClampMacro(ZLength,
double,0.0,VTK_DOUBLE_MAX);
57 vtkGetMacro(ZLength,
double);
62 vtkSetVector3Macro(Center,
double);
63 vtkGetVectorMacro(Center,
double,3);
69 void SetBounds(
double xMin,
double xMax,
70 double yMin,
double yMax,
71 double zMin,
double zMax);
72 void SetBounds(
double bounds[6]);
79 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
create a polygonal representation of a cube
Superclass for algorithms that produce only polydata as output.