Go to the documentation of this file.
38 #ifndef vtkTessellatedBoxSource_h
39 #define vtkTessellatedBoxSource_h
41 #include "vtkFiltersSourcesModule.h"
56 vtkSetVector6Macro(Bounds,
double);
67 vtkGetVector6Macro(Bounds,
double);
75 vtkSetMacro(Level,
int);
83 vtkGetMacro(Level,
int);
114 vtkSetMacro(OutputPointsPrecision,
int);
115 vtkGetMacro(OutputPointsPrecision,
int);
162 double facePoints[3][3],
represent and manipulate 3D points
vtkTessellatedBoxSource()
Create a polygonal representation of a box with a given level of subdivision.
~vtkTessellatedBoxSource() override
void BuildFace(vtkPoints *points, vtkCellArray *polys, vtkIdType firstPointId, double facePoints[3][3], int changed)
Build one of the face of the box with some level of tessellation.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outpuVector) override
Called by the superclass.
a simple class to control print indentation
object to represent cell connectivity
void DuplicateSharedPointsMethod(double *bounds, vtkPoints *points, vtkCellArray *polys)
int OutputPointsPrecision
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTessellatedBoxSource * New()
vtkIdType LocalFacePointCoordinatesToPointId(int f, int i, int j)
Compute the pointId of point (i,j) of face f.
vtkTypeBool DuplicateSharedPoints
void MinimalPointsMethod(double *bounds, vtkPoints *points, vtkCellArray *polys)
Superclass for algorithms that produce only polydata as output.