Stellarium 0.13.3
List of all members | 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...
 

Detailed Description

Definition at line 49 of file StelViewportEffect.hpp.

Member Function Documentation

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

Distort an x,y position according to the distortion.

The default implementation does nothing.

Reimplemented from StelViewportEffect.

virtual void StelViewportDistorterFisheyeToSphericMirror::paintViewportBuffer ( const QOpenGLFramebufferObject *  buf) const
virtual

Draw the viewport on the screen.

Parameters
bufthe GL frame buffer containing the Stellarium viewport alreay drawn. The default implementation paints the buffer on the fullscreen.

Reimplemented from StelViewportEffect.


The documentation for this class was generated from the following file: