AdjacentVertexEnumerator Class Reference
#include <mesh.h>
AdjacentVertexEnumerator is a base class for operations that must be applied to all vertices adjacent to a specified one.
To use this class, derive your new class from it. Override the ProcessAdjacentVertex() method to perform the operation you need done to the mesh vertex.
To use your class, call Mesh::EnumerateAdjacentVertices, specify a starting face and vertex, and pass in your enumerator class. Your operation will be applied to all adjacent vertices.
Definition at line 286 of file mesh.h.
Set this to true to enumerate fake triangles, false to skip fake triangles.
false by default.
virtual void ProcessAdjacentVertex |
( |
unsigned int |
iVertexIndex, |
|
|
unsigned int |
iFaceIndex |
|
) |
| |
|
virtual |
- Parameters
-
[in] | iVertexIndex | index of the vertex being processed |
[in] | iFaceIndex | index of a face associated with the vertex being processed (chosen at random) |
unsigned char m_iCurrentCorner |
unsigned char m_iVertexCorner |
The corner within the face that corresponds to the current vertex.
Definition at line 299 of file mesh.h.
bool m_bEnumerateFakeTriangles |
The corner within the face that corresponds to the original vertex.
Definition at line 301 of file mesh.h.
The documentation for this class was generated from the following file: