GEE_PolygonMesh Class Reference

A polygon mesh. More...

#include <gee_polygon_mesh.h>

Inheritance diagram for GEE_PolygonMesh:

Inheritance graph
[legend]
Collaboration diagram for GEE_PolygonMesh:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Protected Attributes


Detailed Description

A polygon mesh.

Works pretty much like a triangle mesh (GEE_TriangleMesh).

Author:
Tommi Ilmonen


Member Typedef Documentation

typedef std::map<int, GEE_PolygonVertex>::iterator GEE_PolygonMesh::vertexIterator
 

typedef std::map<int, GEE_PolygonIndices>::iterator GEE_PolygonMesh::polygonIterator
 


Constructor & Destructor Documentation

GEE_PolygonMesh::GEE_PolygonMesh  ) 
 

GEE_PolygonMesh::~GEE_PolygonMesh  ) 
 


Member Function Documentation

GEE_Geometry * GEE_PolygonMesh::clone  )  const [virtual]
 

Clone this object, creating an equivalent independent object.

Reimplemented from GEE_Geometry.

void GEE_PolygonMesh::render GEE_Renderer  )  [virtual]
 

Render this object with the renderer.

Reimplemented from GEE_Geometry.

bool GEE_PolygonMesh::getBoundingBox VEE_BoundingBox  )  [virtual]
 

Get the bounding box of this data set.

Reimplemented from GEE_Geometry.

bool GEE_PolygonMesh::move const VEE_Vector3 offset  )  [virtual]
 

Moves the data elements by some offset.

Reimplemented from GEE_Geometry.

void GEE_PolygonMesh::clear  ) 
 

int GEE_PolygonMesh::addVertex const GEE_PolygonVertex  ) 
 

Adds a new vertex point to the mesh and returns the index number of the vertex.

int GEE_PolygonMesh::addPolygon const GEE_PolygonIndices poly  ) 
 

Adds a polygon and returns its index.

If the vertices of the polygon do not exist, then -1 returned and the polygon is not added.

GEE_PolygonVertex * GEE_PolygonMesh::getVertex int   ) 
 

Returns a vertex (or NULL if not found).

polygonIterator GEE_PolygonMesh::beginPolygon  )  [inline]
 

polygonIterator GEE_PolygonMesh::endPolygon  )  [inline]
 

uint GEE_PolygonMesh::polygonCount  )  const [inline]
 

vertexIterator GEE_PolygonMesh::beginVertex  )  [inline]
 

vertexIterator GEE_PolygonMesh::endVertex  )  [inline]
 

uint GEE_PolygonMesh::vertexCount  )  const [inline]
 

static GEE_PolygonIndices& GEE_PolygonMesh::getPolygon polygonIterator it  )  [inline, static]
 

GEE_TriangleMesh * GEE_PolygonMesh::triangleMesh  ) 
 

static GEE_PolygonMesh* GEE_PolygonMesh::cast GEE_Geometry d  )  [inline, static]
 


Member Data Documentation

std::map<int, GEE_PolygonVertex> GEE_PolygonMesh::m_vertices [protected]
 

std::map<int, GEE_PolygonIndices> GEE_PolygonMesh::m_polygons [protected]
 

int GEE_PolygonMesh::m_vertexCounter [protected]
 

int GEE_PolygonMesh::m_polygonCounter [protected]
 

VEE_BoundingBox GEE_PolygonMesh::m_bbox [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:14 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6