iso::visual::Mesh Class Reference

#include <iso_visual_mesh.h>

Inherits iso::visual::Dataset.

Inheritance diagram for iso::visual::Mesh:

Inheritance graph
[legend]
Collaboration diagram for iso::visual::Mesh:

Collaboration graph
[legend]
List of all members.

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 realvertexCoordinates () const
const int * faceIndices () const
bool checkGL ()
bool checkCL ()
GLDatacreateGL () throw (VisualException)
GLDatacreateGL (GLBufferUsage pUsage) throw (VisualException)
CLDatacreateCL () throw (VisualException)

Protected Attributes

HE_Structure mHalfEdgeStructure

Static Protected Attributes

static int sVertexCount
static real sVertices []
static int sFaceCount
static int sFaces []

Constructor & Destructor Documentation

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

Parameters:
pVertexCount number of vertices
pVertices vertex coordinates
pFaceCount number of faces
pFaces vertex indices for faces

Mesh::Mesh ( const Mesh pMesh  ) 

create mesh

Parameters:
pMesh mesh to copy

Mesh::~Mesh (  ) 

destructor


Member Function Documentation

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.


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:23:39 2011 for iso visual by  doxygen 1.5.1