Flow Visualisation
SceneGraph.h
Go to the documentation of this file.
1 //
2 // SceneGraph.h
3 // flowviz
4 //
5 // Created by Johann Götz on 01.05.15.
6 // Copyright (c) 2015 Johann Götz. All rights reserved.
7 //
8 
9 #ifndef __flowviz__SceneGraph__
10 #define __flowviz__SceneGraph__
11 
12 #include <stdio.h>
13 #include <vector>
14 
15 #include "SceneContext.h"
16 #include "ISceneGraphPart.h"
17 
18 namespace render{
19 
20  class SceneGraph
21  {
22  private:
23  std::vector<ISceneGraphPart*> m_children;
24  SceneContext *m_context;
25 
26  public:
27  SceneGraph();
28  ~SceneGraph();
29 
30  void addChild(ISceneGraphPart *child);
31 
32  void render();
33 
34  };
35 }
36 
37 #endif /* defined(__flowviz__SceneGraph__) */
SceneGraph()
Definition: SceneGraph.cpp:13
Represents the current state of rendering.
Definition: SceneContext.h:22
void render()
Definition: SceneGraph.cpp:29
Represents part of the SceneGraph.
Definition: ISceneGraphPart.h:23
~SceneGraph()
Definition: SceneGraph.cpp:18
Definition: Camera.h:19
Definition: SceneGraph.h:20
void addChild(ISceneGraphPart *child)
Definition: SceneGraph.cpp:23