#include <CondenseTraverser.h>
Inheritance diagram for nvtraverser::CondenseTraverser:
Public Member Functions | |
NVSG_API | CondenseTraverser (void) |
Constructor. | |
NVSG_API void | setEpsilon (float epsilon) |
Set the epsilon to use to distinguish vertex values. | |
Protected Member Functions | |
virtual NVSG_API | ~CondenseTraverser (void) |
Proteced destructor to prevent instantiation of a CondenseTraverser on stack. | |
virtual NVSG_API void | doApply (const nvsg::ViewState *pViewState, const nvsg::Scene *pScene) |
Initiate traversal of the scene with a view state. | |
virtual NVSG_API void | handleGeoNode (const nvsg::GeoNode *p) |
Condense all Quads and Triangles of a GeoNode. |
Currently, this CondenseTraverser supports Triangles only.
|
Constructor.
|
|
Proteced destructor to prevent instantiation of a CondenseTraverser on stack.
|
|
Set the epsilon to use to distinguish vertex values. This epsilon multiplied by the size of the scene gives the tolerance for detecting equal vertices.
|
|
Initiate traversal of the scene with a view state. Calculates the tolerance for the scene and calls the Traverser::doApply().
Reimplemented from nvtraverser::Traverser. |
|
Condense all Quads and Triangles of a GeoNode.
Reimplemented from nvtraverser::Traverser. |