Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

StelViewportDistorterFisheyeToSphericMirror Class Reference

List of all members.

Public Member Functions

 StelViewportDistorterFisheyeToSphericMirror (int screen_w, int screen_h)
virtual QString getName ()
virtual void paintViewportBuffer (const QGLFramebufferObject *buf) const
 Draw the viewport on the screen.
virtual void distortXY (float &x, float &y) const
 Distort an x,y position according to the distortion.

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 QGLFramebufferObject *  buf  )  const [virtual]

Draw the viewport on the screen.

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

Reimplemented from StelViewportEffect.

Generated on Sat Aug 25 22:13:34 2012 for Stellarium by  doxygen 1.6.3