47 #ifndef vtkStructuredGrid_h
48 #define vtkStructuredGrid_h
101 void SetDimensions(
int i,
int j,
int k);
102 void SetDimensions(
int dim[3]);
107 virtual int *GetDimensions ();
108 virtual void GetDimensions (
int dim[3]);
112 int GetDataDimension();
118 void SetExtent(
int extent[6]);
119 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
120 vtkGetVector6Macro(Extent,
int);
159 unsigned char IsPointVisible(
vtkIdType ptId);
163 unsigned char IsCellVisible(
vtkIdType cellId);
176 void GetCellDims(
int cellDims[3] );
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);
virtual vtkIdType GetNumberOfCells()=0
static vtkDataObject * New()
virtual void ComputeScalarRange()
vtkIdType GetNumberOfPoints()
abstract class to specify dataset behavior
a cell that represents a 3D point
vtkIdType GetNumberOfCells()
static int GetDataDimension(int dataDescription)
void GetPoint(vtkIdType ptId, double p[3])
static vtkPointSet * GetData(vtkInformation *info)
double * GetPoint(vtkIdType ptId)
void CopyStructure(vtkDataSet *pd)
a cell that represents a 2D quadrilateral
abstract class for specifying dataset behavior
unsigned long GetActualMemorySize()
an empty cell used as a place-holder during processing
virtual bool HasAnyBlankCells()
provides thread-safe access to cells
virtual int * GetDimensions()
virtual void Crop(const int *updateExtent)
cell represents a 1D line
abstract class to specify cell behavior
a simple class to control print indentation
virtual bool HasAnyBlankPoints()
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
a cell that represents a linear 3D hexahedron
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
dynamic, self-adjusting array of unsigned char
void PrintSelf(ostream &os, vtkIndent indent)
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
void DeepCopy(vtkDataObject *src)
topologically regular array of data
vtkIdType GetNumberOfPoints()
void ShallowCopy(vtkDataObject *src)
general representation of visualization data
#define VTK_STRUCTURED_GRID
#define VTKCOMMONDATAMODEL_EXPORT
virtual vtkCell * GetCell(vtkIdType cellId)=0
vtkHexahedron * Hexahedron
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
virtual int GetCellType(vtkIdType cellId)=0
double * GetPoint(vtkIdType ptId)