23 #ifndef vtkCPUnstructuredGridBuilder_h 24 #define vtkCPUnstructuredGridBuilder_h 27 #include "vtkPVCatalystTestDriverModule.h" 32 class vtkUnstructuredGrid;
39 void PrintSelf(ostream& os, vtkIndent indent);
46 virtual vtkDataObject*
GetGrid(
unsigned long timeStep,
double time,
int& builtNewGrid);
51 vtkUnstructuredGrid* GetUnstructuredGrid();
57 bool SetPoints(vtkPoints* points);
62 virtual void Allocate(vtkIdType numCells = 1000,
int extSize = 1000);
69 vtkIdType InsertNextCell(
int type, vtkIdType npts, vtkIdType* pts);
70 vtkIdType InsertNextCell(
int type, vtkIdList* ptIds);
86 void SetUnstructuredGrid(vtkUnstructuredGrid* grid);
96 vtkUnstructuredGrid* UnstructuredGrid;
void PrintSelf(ostream &os, vtkIndent indent)
Abstract class for creating grids.
bool IsGridModified
Flag to indicate if UnstructuredGrid has been modified since last call to GetGrid().
virtual vtkDataObject * GetGrid(unsigned long timeStep, double time, int &builtNewGrid)=0
Return a grid.
Class for creating unstructured grids.