#include <GeoNodeUnifyTraverser.h>
Inheritance diagram for nvtraverser::GeoNodeUnifyTraverser:
Public Methods | |
NVSG_API | GeoNodeUnifyTraverser (void) |
Constructor. More... | |
NVSG_API bool | getIgnoreNames (void) const |
Get the 'ignore names' flag. More... | |
NVSG_API void | setIgnoreNames (bool ignore) |
Set the 'ignore names' flags. More... | |
Protected Methods | |
virtual NVSG_API | ~GeoNodeUnifyTraverser (void) |
Protected destructor to prevent instantiation of a GeoNodeUnifyTraverser on stack. More... | |
virtual NVSG_API void | handleGeoNode (const nvsg::GeoNode *p) |
Routine to handle a GeoNode while traversing the scene graph. More... | |
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. More... | |
virtual NVSG_API void | postTraverseGroup (const nvsg::Group *p) |
This function will be called from the framework immediately after a Group has been traversed. More... |
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. |