Go to the documentation of this file.
41 #ifndef vtkRectilinearGrid_h
42 #define vtkRectilinearGrid_h
85 int& subId,
double pcoords[3],
double *
weights);
87 vtkIdType cellId,
double tol2,
int& subId,
88 double pcoords[3],
double *
weights);
90 double tol2,
int& subId,
double pcoords[3],
121 int GetDataDimension();
141 void GetPoint(
const int i,
const int j,
const int k,
double p[3]);
166 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
189 virtual void Crop(
const int* updateExtent);
219 double PointReturn[3];
represent and manipulate 3D points
#define vtkGetVector6Macro(name, type)
virtual vtkIdType GetNumberOfPoints()=0
#define vtkGetObjectMacro(name, type)
void PrintSelf(ostream &os, vtkIndent indent)
static int GetDataDimension(int dataDescription)
int ComputeStructuredCoordinates(double x[3], int ijk[3], double pcoords[3])
a dataset that is topologically regular with variable spacing in the three coordinate directions
void GetCell(vtkIdType cellId, vtkGenericCell *cell)
void ShallowCopy(vtkDataObject *src)
void GetPoint(const int i, const int j, const int k, double p[3])
void CopyStructure(vtkDataSet *ds)
static vtkRectilinearGrid * GetData(vtkInformationVector *v, int i=0)
vtkIdType GetNumberOfPoints()
#define vtkTypeMacro(thisClass, superclass)
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
GLint GLint GLint GLint GLint x
abstract superclass for arrays of numeric data
vtkDataArray * YCoordinates
#define vtkGetVectorMacro(name, type, count)
virtual void SetZCoordinates(vtkDataArray *)
a cell that represents a 3D point
void SetDimensions(int dim[3])
void DeepCopy(vtkDataObject *src)
cell represents a 1D line
double * GetPoint(vtkIdType ptId)
int GetCellType(vtkIdType cellId)
static vtkRectilinearGrid * New()
static vtkIdType ComputePointId(int dim[3], int ijk[3], int dataDescription=VTK_EMPTY)
static void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3])
vtkIdType FindPoint(double x, double y, double z)
void SetDimensions(int i, int j, int k)
void SetExtent(int extent[6])
abstract class to specify cell behavior
virtual void SetXCoordinates(vtkDataArray *)
static void GetPointCells(vtkIdType ptId, vtkIdList *cellIds, int dim[3])
vtkIdType FindPoint(double x, double y, double z)
a simple class to control print indentation
vtkCell * GetCell(vtkIdType cellId)
virtual void SetYCoordinates(vtkDataArray *)
list of point or cell ids
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
vtkIdType ComputePointId(int ijk[3])
vtkIdType ComputeCellId(int ijk[3])
static vtkRectilinearGrid * GetData(vtkInformation *info)
static vtkIdType ComputeCellId(int dim[3], int ijk[3], int dataDescription=VTK_EMPTY)
virtual void Crop(const int *updateExtent)
abstract class to specify dataset behavior
vtkDataArray * XCoordinates
void GetPoint(vtkIdType id, double x[3])
void GetCellBounds(vtkIdType cellId, double bounds[6])
void SetExtent(int x1, int x2, int y1, int y2, int z1, int z2)
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
GLint GLint GLint GLint GLint GLint y
a cell that represents an orthogonal quadrilateral
vtkIdType FindPoint(double x[3])
vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
provides thread-safe access to cells
#define VTKCOMMONDATAMODEL_EXPORT
virtual vtkIdType GetNumberOfCells()=0
unsigned long GetActualMemorySize()
general representation of visualization data
vtkCell * FindAndGetCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
vtkDataArray * ZCoordinates
#define VTK_RECTILINEAR_GRID
void GetPoints(vtkPoints *pnts)
vtkIdType GetNumberOfCells()
a cell that represents a 3D orthogonal parallelepiped