This reference page is linked to from the following overview topics: Sculpting and Brushes.
AdjacentVertexEnumerator is a base class for operations that must be.
applied to all vertices adjacent to a specified one. To use this class, derive a new enumerator 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.
#include <mesh.h>
Public Member Functions |
|
virtual void | ProcessAdjacentVertex (unsigned int iVertexIndex, unsigned int iFaceIndex) |
Public Attributes |
|
bool | m_bEdge |
virtual void ProcessAdjacentVertex | ( | unsigned int | iVertexIndex, |
unsigned int | iFaceIndex | ||
) | [virtual] |
[in] | iVertexIndex | index of the vertex being processed |
[in] | iFaceIndex | index of a face associated with the vertex being processed (chosen at random) |
bool m_bEdge |