Stellarium  1.2
Public Member Functions
StelViewportDistorterFisheyeToSphericMirror Class Reference

Public Member Functions

 StelViewportDistorterFisheyeToSphericMirror (int screen_w, int screen_h)
 
virtual QString getName () const Q_DECL_OVERRIDE
 
virtual void paintViewportBuffer (const QOpenGLFramebufferObject *buf) const Q_DECL_OVERRIDE
 Draw the viewport on the screen. More...
 
virtual void distortXY (qreal &x, qreal &y) const Q_DECL_OVERRIDE
 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 ( qreal &  x,
qreal &  y 
) const
virtual

The default implementation does nothing.

Reimplemented from StelViewportEffect.

◆ paintViewportBuffer()

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

Reimplemented from StelViewportEffect.