Stellarium 0.12.3
List of all members | Classes | Public Member Functions
StelViewportDistorterFisheyeToSphericMirror Class Reference

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. More...
virtual void distortXY (float &x, float &y) const
 Distort an x,y position according to the distortion. More...

Detailed Description

Definition at line 52 of file StelViewportEffect.hpp.

Member Function Documentation

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

Distort an x,y position according to the distortion.

The default implementation does nothing.

Reimplemented from StelViewportEffect.

virtual void StelViewportDistorterFisheyeToSphericMirror::drawToViewport ( class StelRenderer renderer)

Apply the effect and draw the viewport.

This actually puts the result of rendering onto the screen.

rendererRenderer to draw with.

Implements StelViewportEffect.

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