18 #ifndef vtkCubeSource_h
19 #define vtkCubeSource_h
21 #include "vtkFiltersSourcesModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
37 vtkGetMacro(XLength,
double);
45 vtkGetMacro(YLength,
double);
53 vtkGetMacro(ZLength,
double);
60 vtkSetVector3Macro(Center,
double);
61 vtkGetVectorMacro(Center,
double, 3);
68 void SetBounds(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
69 void SetBounds(
const double bounds[6]);
79 vtkSetMacro(OutputPointsPrecision,
int);
80 vtkGetMacro(OutputPointsPrecision,
int);
84 vtkCubeSource(
double xL = 1.0,
double yL = 1.0,
double zL = 1.0);
void GetBounds(T a, double bds[6])
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
create a polygonal representation of a cube
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
int OutputPointsPrecision
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.