RAMSES Documentation  27.0.130
Information for RAMSES users and developers
SceneGraphIterator.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2015 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_SCENEGRAPHITERATOR_H
10 #define RAMSES_SCENEGRAPHITERATOR_H
11 
14 
15 namespace ramses
16 {
19  {
20  ETreeTraversalStyle_DepthFirst = 0, //(with pre-order)
22  };
23 
24  class Node;
25 
30  {
31  public:
41 
46 
55 
56  protected:
63 
71 
75  class SceneGraphIteratorImpl* impl;
76  };
77 }
78 
79 #endif
80 
#define RAMSES_API
Definition: APIExport.h:35
The Node is the base class of all nodes and provides scene graph functionality which propagates to it...
Definition: Node.h:23
A SceneObjectIterator can iterate through the nodes in the scene graph with the order specified as tr...
Definition: SceneGraphIterator.h:30
SceneGraphIterator(const SceneGraphIterator &other)
Copy constructor of SceneGraphIterator.
~SceneGraphIterator()
Destructor.
SceneGraphIterator(Node &startNode, ETreeTraversalStyle traversalStyle, ERamsesObjectType objectType=ERamsesObjectType_Node)
Constructor for SceneGraphIterator. A SceneObjectIterator can iterate through the nodes in the scene ...
Node * getNext()
Returns the next node while iterating.
SceneGraphIterator & operator=(const SceneGraphIterator &other)
Assignment operator of SceneGraphIterator.
class SceneGraphIteratorImpl * impl
Stores internal data for implementation specifics of SceneGraphIterator.
Definition: SceneGraphIterator.h:75
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
ETreeTraversalStyle
Tree traversal style.
Definition: SceneGraphIterator.h:19
@ ETreeTraversalStyle_BreadthFirst
Definition: SceneGraphIterator.h:21
@ ETreeTraversalStyle_DepthFirst
Definition: SceneGraphIterator.h:20
ERamsesObjectType
RamsesObject type ID.
Definition: RamsesObjectTypes.h:18
@ ERamsesObjectType_Node
Definition: RamsesObjectTypes.h:28