Flow Visualisation
render::Camera Class Reference

Simpel parallel projecting camera. More...

#include <Camera.h>

Inheritance diagram for render::Camera:
Collaboration diagram for render::Camera:

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
ISceneGraphPartm_parent
 
std::vector< ISceneGraphPart * > m_children
 parent element in the scene graph More...
 

Detailed Description

Simpel parallel projecting camera.

Constructor & Destructor Documentation

render::Camera::Camera ( int  worldWidth,
int  worldHeight 
)
inline

Member Function Documentation

void Camera::render ( render::SceneContext context)
virtual

Sets itself as active camera.

Parameters
contextobject to save current state of rendering Saves old camera, and resets after whole subgraph is rendered

Implements render::ISceneGraphPart.


The documentation for this class was generated from the following files: