22 #ifndef __vtkUniformGrid_h
23 #define __vtkUniformGrid_h
25 #include "vtkImageData.h"
39 void PrintSelf(ostream& os,
vtkIndent indent);
55 int& subId,
double pcoords[3],
double *weights);
58 vtkIdType cellId,
double tol2,
int& subId,
59 double pcoords[3],
double *weights);
60 virtual vtkCell *FindAndGetCell(
62 double tol2,
int& subId,
double pcoords[3],
64 virtual int GetCellType(
vtkIdType cellId);
67 this->GetDimensions());}
70 virtual void Initialize();
87 int Initialize(
const vtkAMRBox *def,
int nGhosts);
94 int Initialize(
const vtkAMRBox *def,
const int nGhosts[3]);
102 int Initialize(
const vtkAMRBox *def,
int nGhostsI,
int nGhostsJ,
int nGhostsK);
118 virtual void UnBlankPoint(
vtkIdType ptId);
126 virtual void UnBlankCell(
vtkIdType ptId);
147 virtual unsigned char IsPointVisible(
vtkIdType ptId);
151 virtual unsigned char IsCellVisible(
vtkIdType cellId);
155 virtual unsigned char GetPointBlanking();
159 virtual unsigned char GetCellBlanking();
161 virtual vtkImageData* NewImageDataCopy();
176 virtual void ComputeScalarRange();
abstract class to specify dataset behavior
Encloses a rectangular region of voxel like cells.
an empty cell used as a place-holder during processing
provides thread-safe access to cells
abstract class to specify cell behavior
a simple class to control print indentation
static void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3])
list of point or cell ids
dynamic, self-adjusting array of unsigned char
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
helper object to manage the visibility of points and cells
helper class to get VTK data object types as string and instantiate them