Flow Visualisation
|
Simpel parallel projecting camera. More...
#include <Camera.h>
Public Member Functions | |
Camera (int worldWidth, int worldHeight) | |
virtual void | render (render::SceneContext *context) |
Sets itself as active camera. More... | |
Public Member Functions inherited from render::ISceneGraphPart | |
ISceneGraphPart () | |
child elements in the scene graph More... | |
void | addChild (ISceneGraphPart *child) |
adds child to this element in the scenegraph More... | |
void | removeChild (ISceneGraphPart *child) |
removes child from the scenegraph More... | |
virtual | ~ISceneGraphPart () |
Additional Inherited Members | |
Protected Attributes inherited from render::ISceneGraphPart | |
ISceneGraphPart * | m_parent |
std::vector< ISceneGraphPart * > | m_children |
parent element in the scene graph More... | |
Simpel parallel projecting camera.
|
inline |
|
virtual |
Sets itself as active camera.
context | object to save current state of rendering Saves old camera, and resets after whole subgraph is rendered |
Implements render::ISceneGraphPart.