17 #ifndef vtkUniformGrid_h
18 #define vtkUniformGrid_h
20 #include "vtkCommonDataModelModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
25 class vtkStructuredVisibilityConstraint;
60 double pcoords[3],
double* weights)
override;
62 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
64 double pcoords[3],
double* weights)
override;
83 int GetGridDescription();
128 virtual void UnBlankPoint(
vtkIdType ptId);
129 virtual void BlankPoint(
int i,
int j,
int k);
130 virtual void UnBlankPoint(
int i,
int j,
int k);
141 virtual void UnBlankCell(
vtkIdType ptId);
142 virtual void BlankCell(
int i,
int j,
int k);
143 virtual void UnBlankCell(
int i,
int j,
int k);
203 static unsigned char MASKED_CELL_VALUE;
206 VTK_ABI_NAMESPACE_END
static vtkImageData * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
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()
virtual void ComputeScalarRange()
Compute the range of the scalars and cache it into ScalarRange only if the cache became invalid (Scal...
abstract class to specify dataset behavior
Encloses a rectangular region of voxel like cells.
bool HasAnyBlankCells() override
Returns 1 if there is any visibility constraint on the cells, 0 otherwise.
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
provides thread-safe access to cells
unsigned char IsPointVisible(vtkIdType ptId)
Return non-zero value if specified point is visible.
abstract class to specify cell behavior
friend class vtkUniformGrid
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
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
unsigned char IsCellVisible(vtkIdType cellId)
Return non-zero value if specified point is visible.
dynamic, self-adjusting array of unsigned char
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, VTK_FUTURE_CONST 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.
bool HasAnyBlankPoints() override
Returns 1 if there is any visibility constraint on the points, 0 otherwise.
void GetCellDims(int cellDims[3])
Given the node dimensions of this grid instance, this method computes the node dimensions.