4 #include <bias_config.h>
6 #ifndef BIAS_HAVE_OPENGL
7 # error You need BIAS with USE_OpenGL Please recompile BIAS.
8 #endif // BUILD_GLviewer
10 #include "Scenes/SceneBase.hh"
11 #include "GLProjectionParametersInterface.hh"
12 #include <Base/Common/W32Compat.hh>
25 class BIASGLviewer_EXPORT
View {
29 void SetViewport(
int x,
int y,
int width,
int height);
30 void SetClearColor(
float red,
float green,
float blue,
float alpha = 1.0f);
47 void InsertSceneAt(
SceneBase* scene,
int index);
50 void RemoveSceneAt(
SceneBase* scene,
int index);
58 std::vector<SceneBase*> scenes_;
Scene that renders a background image behind all other scenes.
Abstract interface class to handle changes in rendering parameters by controllers and in rendering co...
A view is a rectangular part of a render context in which a set of scenes is rendered using a GLProje...
Base class for all scenes.