Stellarium
1.2
|
#include <StelViewportEffect.hpp>
Public Member Functions | |
virtual QString | getName () const |
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 (qreal &x, qreal &y) const |
Distort an x,y position according to the distortion. More... | |
Allow to apply visual effects on the whole Stellarium viewport.
|
inlinevirtual |
The default implementation does nothing.
|
inlinevirtual |
The default implementation does nothing.
Reimplemented in StelViewportDistorterFisheyeToSphericMirror.
|
virtual |
buf | the GL frame buffer containing the Stellarium viewport already drawn. The default implementation paints the buffer on the fullscreen. |
Reimplemented in StelViewportDistorterFisheyeToSphericMirror.