#include <GeoNodeUnifyTraverser.h>
Inheritance diagram for nvtraverser::GeoNodeUnifyTraverser:
Public Member Functions | |
NVSG_API | GeoNodeUnifyTraverser (void) |
Constructor. | |
NVSG_API bool | getIgnoreNames (void) const |
Get the 'ignore names' flag. | |
NVSG_API void | setIgnoreNames (bool ignore) |
Set the 'ignore names' flags. | |
Protected Member Functions | |
virtual NVSG_API | ~GeoNodeUnifyTraverser (void) |
Protected destructor to prevent instantiation of a GeoNodeUnifyTraverser on stack. | |
virtual NVSG_API void | handleGeoNode (const nvsg::GeoNode *p) |
Routine to handle a GeoNode while traversing the scene graph. | |
virtual NVSG_API void | preTraverseGroup (const nvsg::Group *p) |
This function will be called from the framework immediately before a Group is to be traversed. | |
virtual NVSG_API void | postTraverseGroup (const nvsg::Group *p) |
This function will be called from the framework immediately after a Group has been traversed. |
All geometries of all GeoNodes unter one Transform are reparented to a single GeoNode.
|
Constructor.
|
|
Protected destructor to prevent instantiation of a GeoNodeUnifyTraverser on stack.
|
|
Get the 'ignore names' flag. If the 'ignore names' flag is set, the names of the GeoNodes are ignored.
|
|
Set the 'ignore names' flags. If the 'ignore names' flag is set, the names of the GeoNodes are ignored.
|
|
Routine to handle a GeoNode while traversing the scene graph. This routine just records all GeoNodes beneath a Group for reparenting.
Reimplemented from nvtraverser::Traverser. |
|
This function will be called from the framework immediately before a Group is to be traversed. Before traversing the Group, a list of the contained GeoNodes is created.
Reimplemented from nvtraverser::Traverser. |
|
This function will be called from the framework immediately after a Group has been traversed. After traversing the Group, all it's children that are GeoNodes are combined.
Reimplemented from nvtraverser::Traverser. |