A vertex in the progressive mesh, holds info like collapse cost etc. More...
#include <OgreProgressiveMesh.h>
Public Types | |
typedef set< PMVertex * >::type | NeighborList |
typedef set< PMVertex * >::type | DuplicateList |
typedef set< PMTriangle * >::type | FaceList |
Public Member Functions | |
PMVertex () | |
void | setDetails (const Vector3 &v, size_t index) |
void | removeIfNonNeighbor (PMVertex *n) |
bool | isBorder (void) |
bool | isManifoldEdgeWith (PMVertex *v) |
true if this vertex is on the edge of an open geometry patch | |
void | notifyRemoved (void) |
Public Attributes | |
Vector3 | position |
size_t | index |
NeighborList | neighbor |
FaceList | face |
Real | collapseCost |
PMVertex * | collapseTo |
bool | removed |
bool | toBeRemoved |
bool | seam |
A vertex in the progressive mesh, holds info like collapse cost etc.
This vertex can actually represent several vertices in the final model, because vertices along texture seams etc will have been duplicated. In order to properly evaluate the surface properties, a single common vertex is used for these duplicates, and the faces hold the detail of the duplicated vertices.
Definition at line 164 of file OgreProgressiveMesh.h.
typedef set<PMVertex *>::type Ogre::ProgressiveMesh::PMVertex::DuplicateList |
Definition at line 176 of file OgreProgressiveMesh.h.
typedef set<PMTriangle *>::type Ogre::ProgressiveMesh::PMVertex::FaceList |
Definition at line 178 of file OgreProgressiveMesh.h.
typedef set<PMVertex *>::type Ogre::ProgressiveMesh::PMVertex::NeighborList |
Definition at line 175 of file OgreProgressiveMesh.h.
Ogre::ProgressiveMesh::PMVertex::PMVertex | ( | ) |
bool Ogre::ProgressiveMesh::PMVertex::isBorder | ( | void | ) |
bool Ogre::ProgressiveMesh::PMVertex::isManifoldEdgeWith | ( | PMVertex * | v | ) |
true if this vertex is on the edge of an open geometry patch
void Ogre::ProgressiveMesh::PMVertex::notifyRemoved | ( | void | ) |
void Ogre::ProgressiveMesh::PMVertex::removeIfNonNeighbor | ( | PMVertex * | n | ) |
void Ogre::ProgressiveMesh::PMVertex::setDetails | ( | const Vector3 & | v, | |
size_t | index | |||
) |
Definition at line 181 of file OgreProgressiveMesh.h.
Definition at line 182 of file OgreProgressiveMesh.h.
Definition at line 179 of file OgreProgressiveMesh.h.
Definition at line 174 of file OgreProgressiveMesh.h.
Definition at line 177 of file OgreProgressiveMesh.h.
Definition at line 173 of file OgreProgressiveMesh.h.
Definition at line 183 of file OgreProgressiveMesh.h.
Definition at line 186 of file OgreProgressiveMesh.h.
Definition at line 184 of file OgreProgressiveMesh.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:24:58