41 #ifndef __vtkRectilinearGrid_h
42 #define __vtkRectilinearGrid_h
83 int& subId,
double pcoords[3],
double *weights);
85 vtkIdType cellId,
double tol2,
int& subId,
86 double pcoords[3],
double *weights);
88 double tol2,
int& subId,
double pcoords[3],
105 void SetDimensions(
int i,
int j,
int k);
106 void SetDimensions(
int dim[3]);
111 vtkGetVectorMacro(Dimensions,
int,3);
115 int GetDataDimension();
122 int ComputeStructuredCoordinates(
double x[3],
int ijk[3],
double pcoords[3]);
154 void SetExtent(
int extent[6]);
155 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
156 vtkGetVector6Macro(Extent,
int);
208 double PointReturn[3];
268 #ifndef VTK_LEGACY_REMOVE
static vtkIdType ComputeCellId(int dim[3], int ijk[3])
vtkIdType FindPoint(double x, double y, double z)
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
virtual vtkCell * FindAndGetCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
virtual vtkIdType GetNumberOfCells()=0
vtkIdType ComputeCellId(int ijk[3])
unsigned long GetActualMemorySize()
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
#define VTK_RECTILINEAR_GRID
virtual vtkIdType GetNumberOfPoints()=0
abstract class to specify dataset behavior
a cell that represents a 3D point
static int GetDataDimension(int dataDescription)
virtual void ComputeBounds()
vtkDataArray * XCoordinates
static vtkDataSet * GetData(vtkInformation *info)
provides thread-safe access to cells
vtkIdType ComputePointId(int ijk[3])
vtkIdType GetNumberOfPoints()
cell represents a 1D line
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
void PrintSelf(ostream &os, vtkIndent indent)
a cell that represents a 3D orthogonal parallelepiped
a simple class to control print indentation
static void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3])
vtkIdType GetNumberOfCells()
vtkDataArray * ZCoordinates
list of point or cell ids
abstract superclass for arrays of numeric data
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
void DeepCopy(vtkDataObject *src)
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
vtkDataArray * YCoordinates
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
virtual void CopyStructure(vtkDataSet *ds)=0
virtual double * GetPoint(vtkIdType ptId)=0
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
helper class to get VTK data object types as string and instantiate them
vtkIdType FindPoint(double x, double y, double z)
static vtkIdType ComputePointId(int dim[3], int ijk[3])
virtual vtkCell * GetCell(vtkIdType cellId)=0
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
virtual int GetCellType(vtkIdType cellId)=0
void ShallowCopy(vtkDataObject *src)