37 #ifndef __vtkTessellatedBoxSource_h
38 #define __vtkTessellatedBoxSource_h
40 #include "vtkFiltersSourcesModule.h"
41 #include "vtkPolyDataAlgorithm.h"
48 virtual void PrintSelf(ostream& os, vtkIndent indent);
53 vtkSetVector6Macro(Bounds,
double);
62 vtkGetVector6Macro(Bounds,
double);
68 vtkSetMacro(Level,
int);
74 vtkGetMacro(Level,
int);
82 vtkSetMacro(DuplicateSharedPoints,
int);
83 vtkGetMacro(DuplicateSharedPoints,
int);
84 vtkBooleanMacro(DuplicateSharedPoints,
int);
90 vtkSetMacro(Quads,
int);
91 vtkGetMacro(Quads,
int);
92 vtkBooleanMacro(Quads,
int);
101 virtual int RequestInformation(vtkInformation *request,
102 vtkInformationVector **inputVector,
103 vtkInformationVector *outputVector);
109 virtual int RequestData(vtkInformation *request,
110 vtkInformationVector **inputVector,
111 vtkInformationVector *outpuVector);
115 void DuplicateSharedPointsMethod(
double *bounds,
117 vtkCellArray *polys);
119 void MinimalPointsMethod(
double *bounds,
121 vtkCellArray *polys);
127 vtkIdType LocalFacePointCoordinatesToPointId(
int f,
138 void BuildFace(vtkPoints *points,
140 vtkIdType firstPointId,
141 double facePoints[3][3],
Create a polygonal representation of a box with a given level of subdivision.
int DuplicateSharedPoints