Stellarium 0.15.2
|
Allow to apply visual effects on the whole Stellarium viewport. More...
#include <StelViewportEffect.hpp>
Public Member Functions | |
virtual QString | getName () |
virtual void | alterBuffer (QOpenGLFramebufferObject *) const |
Alter the GL frame buffer, this method must not display anything. More... | |
virtual void | paintViewportBuffer (const QOpenGLFramebufferObject *buf) const |
Draw the viewport on the screen. More... | |
virtual void | distortXY (float &x, float &y) const |
Distort an x,y position according to the distortion. More... | |
Allow to apply visual effects on the whole Stellarium viewport.
Definition at line 30 of file StelViewportEffect.hpp.
|
inlinevirtual |
Alter the GL frame buffer, this method must not display anything.
The default implementation does nothing.
Definition at line 38 of file StelViewportEffect.hpp.
|
inlinevirtual |
Distort an x,y position according to the distortion.
The default implementation does nothing.
Reimplemented in StelViewportDistorterFisheyeToSphericMirror.
Definition at line 45 of file StelViewportEffect.hpp.
|
virtual |
Draw the viewport on the screen.
buf | the GL frame buffer containing the Stellarium viewport alreay drawn. The default implementation paints the buffer on the fullscreen. |
Reimplemented in StelViewportDistorterFisheyeToSphericMirror.