Stellarium  0.19.0
Public Member Functions
StelViewportDistorterFisheyeToSphericMirror Class Reference

Public Member Functions

 StelViewportDistorterFisheyeToSphericMirror (int screen_w, int screen_h)
virtual QString getName () const
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

◆ distortXY()

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

The default implementation does nothing.

Reimplemented from StelViewportEffect.

◆ paintViewportBuffer()

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

Reimplemented from StelViewportEffect.