27 #ifndef vtkCubeSource_h
28 #define vtkCubeSource_h
30 #include "vtkFiltersSourcesModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
46 vtkGetMacro(XLength,
double);
54 vtkGetMacro(YLength,
double);
62 vtkGetMacro(ZLength,
double);
69 vtkSetVector3Macro(Center,
double);
70 vtkGetVectorMacro(Center,
double, 3);
77 void SetBounds(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
88 vtkSetMacro(OutputPointsPrecision,
int);
89 vtkGetMacro(OutputPointsPrecision,
int);
108 VTK_ABI_NAMESPACE_END
create a polygonal representation of a cube
~vtkCubeSource() override=default
void GetBounds(double bounds[6])
Convenience methods allows creation of cube by specifying bounding box.
int OutputPointsPrecision
vtkCubeSource(double xL=1.0, double yL=1.0, double zL=1.0)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetBounds(const double bounds[6])
Convenience methods allows creation of cube by specifying bounding box.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCubeSource * New()
void SetBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
Convenience methods allows creation of cube by specifying bounding box.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.