#include <iso_visual_point_data.h>
Inherits iso::visual::PointData.
Inherited by iso::visual::RectilinearGrid, iso::visual::StructuredGrid, and iso::visual::UniformGrid.
Inheritance diagram for iso::visual::GridData:


Public Member Functions | |
| GridData (int pGridDim, const int pGridSize[], const CellType &pCellType) | |
| GridData (const GridData &pGridData) | |
| ~GridData () | |
| virtual const PointData & | operator= (const PointData &pPointData) throw (VisualException) |
| const int * | gridSize () const |
| return grid size | |
| void | vertexIndices (int pCellIndex, int *pVertexIndices) const |
| retrieve vertex indices from cell index | |
| void | gridVertex (int pPointIndex, int pGridCoord[]) const |
| transform point index into grid coordinates | |
| void | gridVertex (int pGridCoord[], int &pPointIndex) const |
| transform grid coordinates into point index | |
| virtual base::String | info () const |
| return textual point data information | |
Protected Attributes | |
| int * | mGridSize |
| int * | mGridPitch |
| offset per grid dimension (in number of points) | |
| GridData::GridData | ( | int | pGridDim, | |
| const int | pGridSize[], | |||
| const CellType & | pCellType | |||
| ) |
| GridData::GridData | ( | const GridData & | pGridData | ) |
| GridData::~GridData | ( | ) |
| const PointData & GridData::operator= | ( | const PointData & | pPointData | ) | throw (VisualException) [virtual] |
Reimplemented from iso::visual::PointData.
Reimplemented in iso::visual::UniformGrid, iso::visual::RectilinearGrid, and iso::visual::StructuredGrid.
| const int * GridData::gridSize | ( | ) | const |
return grid size
| void GridData::vertexIndices | ( | int | pCellIndex, | |
| int * | pVertexIndices | |||
| ) | const [virtual] |
retrieve vertex indices from cell index
| pCellIndex | cell index | |
| pVertexIndices | vertex indices (return value) |
Implements iso::visual::PointData.
| void GridData::gridVertex | ( | int | pPointIndex, | |
| int | pGridCoord[] | |||
| ) | const |
transform point index into grid coordinates
| pPointIndex | point index | |
| pGridCoord | grid coordinates (return value) |
| void GridData::gridVertex | ( | int | pGridCoord[], | |
| int & | pPointIndex | |||
| ) | const |
transform grid coordinates into point index
| pGridCoord | grid coordinates | |
| pPointIndex | point index (return value) |
| base::String GridData::info | ( | ) | const [virtual] |
return textual point data information
Reimplemented from iso::visual::PointData.
Reimplemented in iso::visual::UniformGrid, iso::visual::RectilinearGrid, and iso::visual::StructuredGrid.
int* iso::visual::GridData::mGridSize [protected] |
int* iso::visual::GridData::mGridPitch [protected] |
offset per grid dimension (in number of points)
1.5.1