Basic Image AlgorithmS Library
2.8.0
|
A view is a rectangular part of a render context in which a set of scenes is rendered using a GLProjection. More...
#include <GLviewer/View.hh>
Public Member Functions | |
void | AppendScene (SceneBase *scene) |
Appends a scene to the list of scenes to be rendered in this view. More... | |
void | InsertSceneAt (SceneBase *scene, int index) |
Inserts a scene to the given position in the list of scenes. More... | |
void | RemoveScene (SceneBase *scene) |
Removes a scene from the list of scenes. More... | |
void | RemoveSceneAt (SceneBase *scene, int index) |
Removes the scene with the given index. More... | |
int | Render () |
void | SetBackgroundImageScene (SceneBGImage *bg) |
void | SetClearColor (float red, float green, float blue, float alpha=1.0f) |
void | SetGLProjectionParametersInterface (GLProjectionParametersInterface *camera) |
Sets the GLProjection to be used for rendering this view. More... | |
void | SetViewport (int x, int y, int width, int height) |
View () | |
A view is a rectangular part of a render context in which a set of scenes is rendered using a GLProjection.
void View::AppendScene | ( | SceneBase * | scene | ) |
Appends a scene to the list of scenes to be rendered in this view.
Every scene can only be added to one view!
Definition at line 46 of file View.cpp.
References BIAS::SceneBase::SetGLProjectionParametersInterface().
void View::InsertSceneAt | ( | SceneBase * | scene, |
int | index | ||
) |
Inserts a scene to the given position in the list of scenes.
Every scene can only be added to one view!
Definition at line 65 of file View.cpp.
References BIAS::SceneBase::SetGLProjectionParametersInterface().
void View::RemoveScene | ( | SceneBase * | scene | ) |
void View::RemoveSceneAt | ( | SceneBase * | scene, |
int | index | ||
) |
void View::SetBackgroundImageScene | ( | SceneBGImage * | bg | ) |
void View::SetClearColor | ( | float | red, |
float | green, | ||
float | blue, | ||
float | alpha = 1.0f |
||
) |
void View::SetGLProjectionParametersInterface | ( | GLProjectionParametersInterface * | camera | ) |
void View::SetViewport | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |