#include <iso_visual_point_data.h>
Inherits iso::visual::PointData.
Inheritance diagram for iso::visual::UnstructuredGrid:
Public Member Functions | |
UnstructuredGrid (int pGridDim, int pPointCount, const real pGridPoints[], const CellType &pCellType, int pCellCount, const int pCellVertices[]) | |
UnstructuredGrid (const UnstructuredGrid &pUnstructuredGrid) | |
~UnstructuredGrid () | |
virtual PointData * | copy () const |
create a copy of point data | |
virtual const PointData & | operator= (const PointData &pPointData) throw (VisualException) |
int | cellIndex (real pPointCoord[]) const |
retrieve cell index from point coordinates | |
void | vertexIndices (int pCellIndex, int *pVertexIndices) const |
retrieve vertex indices from cell index | |
void | vertex (int pVertexIndex, real pVertexCoord[]) const |
retrieve vertex cordinate from vertex index | |
const real * | gridPoints () const |
return grid points | |
real * | gridPoints () |
return grid points | |
const int * | cellVertices () const |
return cell vertex indices | |
virtual base::String | info () const |
return textual point data information | |
Protected Attributes | |
real * | mGridPoints |
int * | mCellVertices |
supports arbitrary point coordinates and arbitrary topologies
UnstructuredGrid::UnstructuredGrid | ( | int | pGridDim, | |
int | pPointCount, | |||
const real | pGridPoints[], | |||
const CellType & | pCellType, | |||
int | pCellCount, | |||
const int | pCellVertices[] | |||
) |
UnstructuredGrid::UnstructuredGrid | ( | const UnstructuredGrid & | pUnstructuredGrid | ) |
UnstructuredGrid::~UnstructuredGrid | ( | ) |
PointData * UnstructuredGrid::copy | ( | ) | const [virtual] |
const PointData & UnstructuredGrid::operator= | ( | const PointData & | pPointData | ) | throw (VisualException) [virtual] |
Reimplemented from iso::visual::PointData.
int UnstructuredGrid::cellIndex | ( | real | pPointCoord[] | ) | const [virtual] |
retrieve cell index from point coordinates
pPointCoord | point coordinates (world coordinates) |
Implements iso::visual::PointData.
void UnstructuredGrid::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 UnstructuredGrid::vertex | ( | int | pVertexIndex, | |
real | pVertexCoord[] | |||
) | const [virtual] |
retrieve vertex cordinate from vertex index
pVertexIndex | vertex index | |
pVertexCoord | vertex coordinates (return value) |
Implements iso::visual::PointData.
const real * UnstructuredGrid::gridPoints | ( | ) | const |
return grid points
real * UnstructuredGrid::gridPoints | ( | ) |
return grid points
const int * UnstructuredGrid::cellVertices | ( | ) | const |
return cell vertex indices
base::String UnstructuredGrid::info | ( | ) | const [virtual] |
return textual point data information
Reimplemented from iso::visual::PointData.
real* iso::visual::UnstructuredGrid::mGridPoints [protected] |
point coordinates
int* iso::visual::UnstructuredGrid::mCellVertices [protected] |
point indices for cells