Go to the documentation of this file.
47 #ifndef vtkStructuredGrid_h
48 #define vtkStructuredGrid_h
112 int GetDataDimension();
119 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
181 virtual void Crop(
const int* updateExtent);
197 void GetPoint(
int i,
int j,
int k,
double p[3],
bool adjustForExtent =
true);
229 static unsigned char MASKED_CELL_VALUE;
252 nCells *= (dims[i]-1);
#define vtkGetVector6Macro(name, type)
static int GetDataDimension(int dataDescription)
int GetCellType(vtkIdType cellId)
void GetPoint(vtkIdType ptId, double p[3])
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
double * GetPoint(vtkIdType ptId)
a cell that represents a linear 3D hexahedron
void BlankCell(vtkIdType ptId)
void GetPoint(int i, int j, int k, double p[3], bool adjustForExtent=true)
an empty cell used as a place-holder during processing
void SetDimensions(int dim[3])
virtual void ComputeScalarRange()
vtkIdType GetNumberOfPoints()
dynamic, self-adjusting array of unsigned char
#define vtkTypeMacro(thisClass, superclass)
vtkIdType GetNumberOfCells()
topologically regular array of data
void GetCellDims(int cellDims[3])
void SetDimensions(int i, int j, int k)
vtkCell * GetCell(vtkIdType cellId)
a cell that represents a 3D point
cell represents a 1D line
unsigned long GetActualMemorySize()
void GetCellBounds(vtkIdType cellId, double bounds[6])
virtual bool HasAnyBlankPoints()
unsigned char IsCellVisible(vtkIdType cellId)
virtual int * GetDimensions()
void SetExtent(int extent[6])
unsigned char IsPointVisible(vtkIdType ptId)
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
void PrintSelf(ostream &os, vtkIndent indent)
abstract class to specify cell behavior
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
static vtkStructuredGrid * New()
a simple class to control print indentation
list of point or cell ids
virtual bool HasAnyBlankCells()
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
void DeepCopy(vtkDataObject *src)
virtual void Crop(const int *updateExtent)
static vtkStructuredGrid * GetData(vtkInformationVector *v, int i=0)
abstract class to specify dataset behavior
void BlankPoint(vtkIdType ptId)
void SetExtent(int x1, int x2, int y1, int y2, int z1, int z2)
void ShallowCopy(vtkDataObject *src)
void UnBlankPoint(vtkIdType ptId)
static vtkStructuredGrid * GetData(vtkInformation *info)
abstract class for specifying dataset behavior
void GetCell(vtkIdType cellId, vtkGenericCell *cell)
vtkHexahedron * Hexahedron
provides thread-safe access to cells
#define VTKCOMMONDATAMODEL_EXPORT
void CopyStructure(vtkDataSet *ds)
virtual vtkIdType GetNumberOfCells()=0
void UnBlankCell(vtkIdType ptId)
vtkIdType GetNumberOfPoints()
general representation of visualization data
virtual void GetDimensions(int dim[3])
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
double * GetPoint(vtkIdType ptId)
a cell that represents a 2D quadrilateral
#define VTK_STRUCTURED_GRID