#include <iso_visual_mesh.h>
Inherits iso::visual::Dataset.
Inheritance diagram for iso::visual::Mesh:


Public Member Functions | |
| Mesh (const base::String &pName) | |
| Mesh (const base::String &pName, int pVertexCount, const real pVertices[], int pFaceCount, const int pFaces[]) | |
| create mesh | |
| Mesh (const Mesh &pMesh) | |
| create mesh | |
| ~Mesh () | |
| destructor | |
| int | vertexCount () const |
| int | faceCount () const |
| const real * | vertexCoordinates () const |
| const int * | faceIndices () const |
| bool | checkGL () |
| bool | checkCL () |
| GLData * | createGL () throw (VisualException) |
| GLData * | createGL (GLBufferUsage pUsage) throw (VisualException) |
| CLData * | createCL () throw (VisualException) |
Protected Attributes | |
| HE_Structure | mHalfEdgeStructure |
Static Protected Attributes | |
| static int | sVertexCount |
| static real | sVertices [] |
| static int | sFaceCount |
| static int | sFaces [] |
| Mesh::Mesh | ( | const base::String & | pName | ) |
destructor
| Mesh::Mesh | ( | const base::String & | pName, | |
| int | pVertexCount, | |||
| const real | pVertices[], | |||
| int | pFaceCount, | |||
| const int | pFaces[] | |||
| ) |
create mesh
| pVertexCount | number of vertices | |
| pVertices | vertex coordinates | |
| pFaceCount | number of faces | |
| pFaces | vertex indices for faces |
| Mesh::Mesh | ( | const Mesh & | pMesh | ) |
create mesh
| pMesh | mesh to copy |
| Mesh::~Mesh | ( | ) |
destructor
| int Mesh::vertexCount | ( | ) | const |
| int Mesh::faceCount | ( | ) | const |
| const real * Mesh::vertexCoordinates | ( | ) | const |
| const int * Mesh::faceIndices | ( | ) | const |
| bool Mesh::checkGL | ( | ) | [virtual] |
Reimplemented from iso::visual::Dataset.
| bool Mesh::checkCL | ( | ) | [virtual] |
Reimplemented from iso::visual::Dataset.
| GLData * Mesh::createGL | ( | ) | throw (VisualException) [virtual] |
Reimplemented from iso::visual::Dataset.
| GLData * Mesh::createGL | ( | GLBufferUsage | pUsage | ) | throw (VisualException) |
| CLData * Mesh::createCL | ( | ) | throw (VisualException) [virtual] |
Reimplemented from iso::visual::Dataset.
int Mesh::sVertexCount [static, protected] |
default number of vertices
real Mesh::sVertices [static, protected] |
default vertex coordinates
int Mesh::sFaceCount [static, protected] |
default number of faces
int Mesh::sFaces [static, protected] |
default vertex indices
HE_Structure iso::visual::Mesh::mHalfEdgeStructure [protected] |
1.5.1