Mesh Class Reference

#include <gee_lwo.hpp>

Collaboration diagram for Mesh:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Protected Member Functions

Protected Attributes

Static Protected Attributes

Classes


Member Typedef Documentation

typedef void Mesh::DisplacementFunc(Mesh *mesh, std::vector< Vertex > &vertices, const std::vector< Triangle > &triangles, const std::vector< Edge > &edges, int level)
 


Constructor & Destructor Documentation

Mesh::Mesh  ) 
 

Mesh::Mesh int  vertices,
int  triangles
 

Mesh::Mesh const char *  fileName  ) 
 

Mesh::Mesh const Mesh m  ) 
 

Mesh::~Mesh  ) 
 


Member Function Documentation

void Mesh::load const char *  fileName  ) 
 

void Mesh::save const char *  fileName  ) 
 

void Mesh::copy const Mesh m  ) 
 

void Mesh::clear int  newVertices,
int  newTriangles
 

Vertex& Mesh::getVertex int  i  )  [inline]
 

Triangle& Mesh::getTriangle int  i  )  [inline]
 

Edge& Mesh::getEdge int  i  )  [inline]
 

Surface& Mesh::getSurface int  i  )  [inline]
 

int Mesh::getVertexCount  )  const [inline]
 

int Mesh::getTriangleCount  )  const [inline]
 

int Mesh::getEdgeCount  )  const [inline]
 

int Mesh::getSurfaceCount  )  const [inline]
 

std::vector<Vertex>& Mesh::getVertices  )  [inline]
 

std::vector<Triangle>& Mesh::getTriangles  )  [inline]
 

std::vector<Edge>& Mesh::getEdges  )  [inline]
 

std::vector<Surface>& Mesh::getSurfaces  )  [inline]
 

const Vector3& Mesh::getBoundingBoxMin  )  const [inline]
 

const Vector3& Mesh::getBoundingBoxMax  )  const [inline]
 

float Mesh::getBoundingRadius  )  const [inline]
 

void Mesh::calculateAdjacency  ) 
 

void Mesh::recalculateAdjacency  ) 
 

void Mesh::calculateCurvature  ) 
 

void Mesh::calculateNormals  ) 
 

void Mesh::setParametrization  ) 
 

void Mesh::interpolateTangents float  stddev  ) 
 

void Mesh::singleSurfaceVertices  ) 
 

void Mesh::silhouette std::vector< int > &  lines,
const Matrix4x3 objectToWorldMatrix,
const Vector3 cameraInWorld
 

void Mesh::calculateBoundingBox  ) 
 

void Mesh::duplicateVertices  ) 
 

void Mesh::subdivide int  n,
DisplacementFunc displacement = NULL
 

const std::vector< Mesh::ventry > & Mesh::get1Neighbourhood int  ver,
int &  valence,
bool &  boundary,
int &  left,
int &  right
const
 

const std::vector< int > & Mesh::get1NeighbourhoodPolygons int  ver  )  const
 

unsigned int Mesh::readID4  )  [protected]
 

int Mesh::readI1  )  [protected]
 

int Mesh::readI2  )  [protected]
 

int Mesh::readI4  )  [protected]
 

unsigned char Mesh::readU1  )  [protected]
 

unsigned short Mesh::readU2  )  [protected]
 

unsigned int Mesh::readU4  )  [protected]
 

float Mesh::readF4  )  [protected]
 

const char * Mesh::readS0  )  [protected]
 

unsigned int Mesh::readVX  )  [protected]
 

Vector3 Mesh::readCOL12  )  [protected]
 

Vector3 Mesh::readVEC12  )  [protected]
 

void Mesh::writeID4 unsigned int  i  )  [protected]
 

void Mesh::writeI1 signed char  i  )  [protected]
 

void Mesh::writeI2 signed short  i  )  [protected]
 

void Mesh::writeI4 int  i  )  [protected]
 

void Mesh::writeU1 unsigned char  i  )  [protected]
 

void Mesh::writeU2 unsigned short  i  )  [protected]
 

void Mesh::writeU4 unsigned int  i  )  [protected]
 

void Mesh::writeF4 float  f  )  [protected]
 

void Mesh::writeS0 const char *  s  )  [protected]
 

void Mesh::writeVX unsigned int  v  )  [protected]
 

void Mesh::writeCOL12 const Vector3 c  )  [protected]
 

void Mesh::writeVEC12 const Vector3 v  )  [protected]
 

void Mesh::loadLW5  )  [protected]
 

void Mesh::loadLW6  )  [protected]
 

void Mesh::saveLW6  )  [protected]
 


Member Data Documentation

std::vector<Vertex> Mesh::m_vertices [protected]
 

std::vector<Triangle> Mesh::m_triangles [protected]
 

std::vector<Edge> Mesh::m_edges [protected]
 

std::vector<Surface> Mesh::m_surfaces [protected]
 

std::string Mesh::m_filename [protected]
 

Vector3 Mesh::m_boundingBoxMin [protected]
 

Vector3 Mesh::m_boundingBoxMax [protected]
 

float Mesh::m_boundingRadius [protected]
 

int Mesh::m_ambiguousNeighbours [protected]
 

bool Mesh::m_adjacencyCalculated [protected]
 

unsigned char * Mesh::m_fileptr = NULL [static, protected]
 

unsigned char * Mesh::m_nextchunkptr = NULL [static, protected]
 

unsigned char * Mesh::m_nextsubchunkptr = NULL [static, protected]
 

unsigned char * Mesh::m_fileend = NULL [static, protected]
 

unsigned char * Mesh::m_readptr = NULL [static, protected]
 

unsigned char * Mesh::m_writeptr = NULL [static, protected]
 


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