47 #ifndef __vtkStructuredGrid_h
48 #define __vtkStructuredGrid_h
103 void SetDimensions(
int i,
int j,
int k);
104 void SetDimensions(
int dim[3]);
109 virtual int *GetDimensions ();
110 virtual void GetDimensions (
int dim[3]);
114 int GetDataDimension();
120 void SetExtent(
int extent[6]);
121 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
122 vtkGetVector6Macro(Extent,
int);
177 unsigned char IsPointVisible(
vtkIdType ptId);
181 unsigned char IsCellVisible(
vtkIdType cellId);
185 unsigned char GetPointBlanking();
189 unsigned char GetCellBlanking();
210 void GetPoint(
int i,
int j,
int k,
double p[3],
bool adjustForExtent =
true);
269 nCells *= (dims[i]-1);
virtual vtkIdType GetNumberOfCells()=0
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
provides thread-safe access to cells
virtual int * GetDimensions()
cell represents a 1D line
vtkStructuredVisibilityConstraint * CellVisibility
a simple class to control print indentation
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
vtkStructuredVisibilityConstraint * PointVisibility
a cell that represents a linear 3D hexahedron
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
double * GetScalarRange()
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
double * GetScalarRange()
vtkIdType GetNumberOfPoints()
helper object to manage the visibility of points and cells
void ShallowCopy(vtkDataObject *src)
helper class to get VTK data object types as string and instantiate them
#define VTK_STRUCTURED_GRID
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)