Stellarium  0.90.0
Public Member Functions
StelViewportDistorterFisheyeToSphericMirror Class Reference

Public Member Functions

 StelViewportDistorterFisheyeToSphericMirror (int screen_w, int screen_h)
 
virtual QString getName ()
 
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...
 
- Public Member Functions inherited from StelViewportEffect
virtual void alterBuffer (QOpenGLFramebufferObject *) const
 Alter the GL frame buffer, this method must not display anything. More...
 

Member Function Documentation

virtual void StelViewportDistorterFisheyeToSphericMirror::distortXY ( float &  x,
float &  y 
) const
virtual

The default implementation does nothing.

Reimplemented from StelViewportEffect.

virtual void StelViewportDistorterFisheyeToSphericMirror::paintViewportBuffer ( const QOpenGLFramebufferObject *  buf) const
virtual
Parameters
bufthe GL frame buffer containing the Stellarium viewport alreay drawn. The default implementation paints the buffer on the fullscreen.

Reimplemented from StelViewportEffect.