vtkRectilinearGrid - a datset that is topologically regular with variable spacing in the three coordinate directions
Super Class: vtkDataSet
Description:
vtkRectilinearGrid is a data object that is a concrete implementation of vtkDataSet. vtkRectilinearGrid represents a geometric structure that is topologically regular with variable spacing in the three coordinate directions x-y-z. To define a vtkRectilinearGrid, you must specify the dimensions of the data and provide three arrays of values specifying the coordinates along the x-y-z axes. The coordinate arrays are specified using three vtkScalars objects (one for x, one for y, one for z).
Caveats:
Make sure that the dimensions of the grid match the number of coordinates in the x-y-z directions. If not, unpredictable results (including program failure) may result. Also, you must supply coordinates in all three directions, even if the dataset topology is 2D, 1D, or 0D. Finally, the coordinates values in each direction must be montonically increasing.
Methods:
Detailed Method Descriptions:
![]()
| vtkDataObject *MakeObject () |
![]()
| void CopyStructure (vtkDataSet *) |
![]()
| void Initialize () |
![]()
![]()
| void SetDimensions (int ,int ,int ) | |
| void SetDimensions (int ) |
![]()
| int *GetDimensions () |
![]()
| int GetDataDimension () |
![]()
| int ComputeStructuredCoordinates (float ,int ,float ) |
![]()
| int ComputePointId (int ) |
![]()
| int ComputeCellId (int ) |
![]()
| void SetXCoordinates (vtkScalars *) | |
| vtkScalars *GetXCoordinates () |
![]()
| void SetYCoordinates (vtkScalars *) | |
| vtkScalars *GetYCoordinates () |
![]()
| void SetZCoordinates (vtkScalars *) | |
| vtkScalars *GetZCoordinates () |
![]()
| void GetCellPoints (int ,vtkIdList &) |
![]()