![]() |
Stellarium 0.11.4 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Allow to apply visual effects on the whole Stellarium viewport. More...
#include <StelViewportEffect.hpp>
Public Member Functions | |
| virtual QString | getName () |
| virtual void | alterBuffer (QGLFramebufferObject *) const |
| Alter the GL frame buffer, this method must not display anything. | |
| virtual void | paintViewportBuffer (const QGLFramebufferObject *buf) const |
| Draw the viewport on the screen. | |
| virtual void | distortXY (float &x, float &y) const |
| Distort an x,y position according to the distortion. | |
Allow to apply visual effects on the whole Stellarium viewport.
| virtual void StelViewportEffect::alterBuffer | ( | QGLFramebufferObject * | ) | const [inline, virtual] |
Alter the GL frame buffer, this method must not display anything.
The default implementation does nothing.
| virtual void StelViewportEffect::distortXY | ( | float & | x, | |
| float & | y | |||
| ) | const [inline, virtual] |
Distort an x,y position according to the distortion.
The default implementation does nothing.
Reimplemented in StelViewportDistorterFisheyeToSphericMirror.
| virtual void StelViewportEffect::paintViewportBuffer | ( | const QGLFramebufferObject * | buf | ) | const [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.
1.6.3