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

StelViewportDistorterFisheyeToSphericMirror Class Reference

List of all members.


struct  Vertex

Public Member Functions

 StelViewportDistorterFisheyeToSphericMirror (int screenWidth, int screenHeight, class StelRenderer *renderer)
virtual QString getName ()
virtual void drawToViewport (class StelRenderer *renderer)
 Apply the effect and draw the viewport.
virtual void distortXY (float &x, float &y) const
 Distort an x,y position according to the distortion.

Detailed Description

Definition at line 52 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::drawToViewport ( class StelRenderer renderer  )  [virtual]

Apply the effect and draw the viewport.

This actually puts the result of rendering onto the screen.

renderer Renderer to draw with.

Implements StelViewportEffect.

The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:47 2013 for Stellarium by  doxygen 1.6.3