29 #ifndef vtkUniformGrid_h
30 #define vtkUniformGrid_h
32 #include "vtkCommonDataModelModule.h"
36 class vtkStructuredVisibilityConstraint;
71 int& subId,
double pcoords[3],
double *weights) VTK_OVERRIDE;
74 vtkIdType cellId,
double tol2,
int& subId,
75 double pcoords[3],
double *weights) VTK_OVERRIDE;
78 double tol2,
int& subId,
double pcoords[3],
79 double *weights) VTK_OVERRIDE;
87 int GetMaxCellSize() VTK_OVERRIDE {
return 8;};
93 int GetGridDescription();
137 virtual void UnBlankPoint(
vtkIdType ptId);
138 virtual void BlankPoint(
const int i,
const int j,
const int k );
139 virtual void UnBlankPoint(
const int i,
const int j,
const int k );
150 virtual void UnBlankCell(
vtkIdType ptId);
151 virtual void BlankCell(
const int i,
const int j,
const int k );
152 virtual void UnBlankCell(
const int i,
const int j,
const int k );
164 bool HasAnyBlankPoints() VTK_OVERRIDE;
171 virtual
unsigned char IsPointVisible(
vtkIdType ptId);
178 virtual
unsigned char IsCellVisible(
vtkIdType cellId);
192 ~vtkUniformGrid() VTK_OVERRIDE;
197 void GetCellDims(
int cellDims[3] );
202 void ComputeScalarRange() VTK_OVERRIDE;
207 vtkUniformGrid(const vtkUniformGrid&) VTK_DELETE_FUNCTION;
208 void operator=(const vtkUniformGrid&) VTK_DELETE_FUNCTION;
212 static
unsigned char MASKED_CELL_VALUE;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCell * GetCell(vtkIdType cellId) override
Standard vtkDataSet API methods.
static vtkImageData * New()
abstract class to specify dataset behavior
Encloses a rectangular region of voxel like cells.
vtkCell * FindAndGetCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Standard vtkDataSet API methods.
an empty cell used as a place-holder during processing
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
provides thread-safe access to cells
abstract class to specify cell behavior
int GetCellType(vtkIdType cellId) override
Standard vtkDataSet API methods.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Standard vtkDataSet API methods.
virtual int * GetDimensions()
Get dimensions of this structured points dataset.
a simple class to control print indentation
static void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3])
Get the points defining a cell.
topologically and geometrically regular array of data
list of point or cell ids
dynamic, self-adjusting array of unsigned char
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
Get the cells using a point.
void CopyStructure(vtkDataSet *ds) override
Copy the geometric and topological structure of an input image data object.
void Initialize() override
Restore data object to initial state.