 |
VTK
9.0.1
|
Go to the documentation of this file.
24 #ifndef vtkCubeSource_h
25 #define vtkCubeSource_h
27 #include "vtkFiltersSourcesModule.h"
42 vtkGetMacro(XLength,
double);
50 vtkGetMacro(YLength,
double);
58 vtkGetMacro(ZLength,
double);
65 vtkSetVector3Macro(Center,
double);
66 vtkGetVectorMacro(Center,
double, 3);
73 void SetBounds(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
84 vtkSetMacro(OutputPointsPrecision,
int);
85 vtkGetMacro(OutputPointsPrecision,
int);
void SetBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
Convenience methods allows creation of cube by specifying bounding box.
void GetBounds(double bounds[6])
~vtkCubeSource() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int OutputPointsPrecision
void SetBounds(const double bounds[6])
vtkCubeSource(double xL=1.0, double yL=1.0, double zL=1.0)
static vtkCubeSource * New()
a simple class to control print indentation
create a polygonal representation of a cube
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.