Go to the documentation of this file.
29 #ifndef vtkUniformGrid_h
30 #define vtkUniformGrid_h
32 #include "vtkCommonDataModelModule.h"
36 class vtkStructuredVisibilityConstraint;
72 int& subId,
double pcoords[3],
double *weights)
override;
75 vtkIdType cellId,
double tol2,
int& subId,
76 double pcoords[3],
double *weights)
override;
79 double tol2,
int& subId,
double pcoords[3],
80 double *weights)
override;
94 int GetGridDescription();
138 virtual void UnBlankPoint(
vtkIdType ptId);
139 virtual void BlankPoint(
const int i,
const int j,
const int k );
140 virtual void UnBlankPoint(
const int i,
const int j,
const int k );
151 virtual void UnBlankCell(
vtkIdType ptId);
152 virtual void BlankCell(
const int i,
const int j,
const int k );
153 virtual void UnBlankCell(
const int i,
const int j,
const int k );
172 virtual unsigned char IsPointVisible(
vtkIdType ptId);
179 virtual unsigned char IsCellVisible(
vtkIdType cellId);
198 void GetCellDims(
int cellDims[3] );
213 static unsigned char MASKED_CELL_VALUE;
Encloses a rectangular region of voxel like cells.
virtual void ComputeScalarRange()
Compute the range of the scalars and cache it into ScalarRange only if the cache became invalid (Scal...
an empty cell used as a place-holder during processing
dynamic, self-adjusting array of unsigned char
int GetCellType(vtkIdType cellId) override
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCell * GetCell(vtkIdType cellId) override
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Locate cell based on global coordinate x and tolerance squared.
virtual int * GetDimensions()
Get dimensions of this structured points dataset.
vtkCell * FindAndGetCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Locate the cell that contains a point and return the cell.
static void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3])
Get the points defining a cell.
abstract class to specify cell behavior
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
Get the cells using a point.
topologically and geometrically regular array of data
a simple class to control print indentation
list of point or cell ids
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
void Initialize() override
Restore data object to initial state.
friend class vtkUniformGrid
virtual bool HasAnyBlankPoints()
Returns 1 if there are any blanking points 0 otherwise.
void CopyStructure(vtkDataSet *ds) override
Copy the geometric and topological structure of an input image data object.
abstract class to specify dataset behavior
provides thread-safe access to cells
static vtkImageData * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
static vtkImageData * New()