5 #ifndef BALL_VIEW_RENDERING_RENDERSETUP_H
6 #define BALL_VIEW_RENDERING_RENDERSETUP_H
8 #ifndef BALL_VIEW_RENDERING_GLRENDERER_H
12 #ifndef BALL_VIEW_RENDERING_RENDERTARGET_H
16 #ifndef BALL_VIEW_RENDERING_GLRENDERWINDOW_H
20 #ifndef BALL_SYSTEM_MUTEX_H
24 #include <QtCore/QThread>
62 void resize(
Size width,
Size height);
81 bool isPaused()
const {
return rendering_paused_; }
109 void updateCamera(
const Camera* camera = 0);
116 void setOffset(
const Vector3& offset);
144 void renderToBuffer();
148 bool exportPNG(
const String& filename);
152 void setLights(
bool reset_all =
false);
156 void updateBackgroundColor();
194 void showRuler(
bool show);
198 void projectionModeChanged();
202 void useContinuousLoop(
bool use_loop);
214 virtual void makeCurrent();
220 void renderToBuffer_();