29 #ifndef __vtkCubeSource_h
30 #define __vtkCubeSource_h
32 #include "vtkFiltersSourcesModule.h"
33 #include "vtkPolyDataAlgorithm.h"
35 class VTKFILTERSSOURCES_EXPORT
vtkCubeSource :
public vtkPolyDataAlgorithm
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 *);
create a polygonal representation of a cube