30#ifndef vtkCubeSource_h
31#define vtkCubeSource_h
33#include "vtkFiltersSourcesModule.h"
48 vtkGetMacro(XLength,
double);
56 vtkGetMacro(YLength,
double);
64 vtkGetMacro(ZLength,
double);
71 vtkSetVector3Macro(Center,
double);
72 vtkGetVectorMacro(Center,
double,3);
80 double yMin,
double yMax,
81 double zMin,
double zMax);
92 vtkGetMacro(OutputPointsPrecision,
int);
create a polygonal representation of a cube
static vtkCubeSource * New()
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])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
Convenience method allows creation of cube by specifying bounding box.
~vtkCubeSource() override
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.