A SceneObjectIterator can iterate through the nodes in the scene graph with the order specified as traversal style.
More...
#include <SceneGraphIterator.h>
A SceneObjectIterator can iterate through the nodes in the scene graph with the order specified as traversal style.
- Examples
- ramses-example-basic-scenegraph/src/main.cpp.
◆ SceneGraphIterator() [1/2]
Constructor for SceneGraphIterator. A SceneObjectIterator can iterate through the nodes in the scene graph with the order specified as traversal style.
- Parameters
-
[in] | startNode | root node of the (sub)tree that should be traversed |
[in] | traversalStyle | traversal style that should be used |
[in] | objectType | Type of objects to iterate through |
◆ ~SceneGraphIterator()
ramses::SceneGraphIterator::~SceneGraphIterator |
( |
| ) |
|
◆ SceneGraphIterator() [2/2]
◆ getNext()
Node* ramses::SceneGraphIterator::getNext |
( |
| ) |
|
Returns the next node while iterating.
- Returns
- next node, null if no more objects available
Iterator is invalid and may no longer be used if any nodes are added or removed.
- Examples
- ramses-example-basic-scenegraph/src/main.cpp.
◆ operator=()
Assignment operator of SceneGraphIterator.
- Parameters
-
- Returns
- This instance after assignment
◆ impl
class SceneGraphIteratorImpl* ramses::SceneGraphIterator::impl |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/ramses/ramses/client/ramses-client/ramses-client-api/include/ramses-client-api/SceneGraphIterator.h