A triangle in the progressive mesh, holds extra info like face normal. More...
#include <OgreProgressiveMesh.h>
Public Member Functions | |
PMTriangle () | |
void | setDetails (size_t index, PMFaceVertex *v0, PMFaceVertex *v1, PMFaceVertex *v2) |
void | computeNormal (void) |
void | replaceVertex (PMFaceVertex *vold, PMFaceVertex *vnew) |
bool | hasCommonVertex (PMVertex *v) const |
bool | hasFaceVertex (PMFaceVertex *v) const |
PMFaceVertex * | getFaceVertexFromCommon (PMVertex *commonVert) |
void | notifyRemoved (void) |
Public Attributes | |
PMFaceVertex * | vertex [3] |
Vector3 | normal |
Real | area |
bool | removed |
size_t | index |
A triangle in the progressive mesh, holds extra info like face normal.
Definition at line 247 of file OgreProgressiveMesh.h.
Ogre::ProgressiveMesh::PMTriangle::PMTriangle | ( | ) |
void Ogre::ProgressiveMesh::PMTriangle::computeNormal | ( | void | ) |
PMFaceVertex* Ogre::ProgressiveMesh::PMTriangle::getFaceVertexFromCommon | ( | PMVertex * | commonVert | ) |
bool Ogre::ProgressiveMesh::PMTriangle::hasCommonVertex | ( | PMVertex * | v | ) | const |
bool Ogre::ProgressiveMesh::PMTriangle::hasFaceVertex | ( | PMFaceVertex * | v | ) | const |
void Ogre::ProgressiveMesh::PMTriangle::notifyRemoved | ( | void | ) |
void Ogre::ProgressiveMesh::PMTriangle::replaceVertex | ( | PMFaceVertex * | vold, | |
PMFaceVertex * | vnew | |||
) |
void Ogre::ProgressiveMesh::PMTriangle::setDetails | ( | size_t | index, | |
PMFaceVertex * | v0, | |||
PMFaceVertex * | v1, | |||
PMFaceVertex * | v2 | |||
) |
Definition at line 260 of file OgreProgressiveMesh.h.
Definition at line 262 of file OgreProgressiveMesh.h.
Definition at line 259 of file OgreProgressiveMesh.h.
Definition at line 261 of file OgreProgressiveMesh.h.
Definition at line 258 of file OgreProgressiveMesh.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:39:03 2012