Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/classStelViewportEffect.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:41:10 2014
Кодировка:

Поисковые слова: п п п п п п п п п п п п
Stellarium: StelViewportEffect Class Reference
Stellarium 0.12.3
List of all members | Public Member Functions
StelViewportEffect Class Referenceabstract

Allow to apply visual effects on the whole Stellarium viewport. More...

#include <StelViewportEffect.hpp>

Public Member Functions

virtual QString getName ()=0
 
virtual void drawToViewport (class StelRenderer *renderer)=0
 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

Allow to apply visual effects on the whole Stellarium viewport.

Definition at line 35 of file StelViewportEffect.hpp.

Member Function Documentation

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

Distort an x,y position according to the distortion.

The default implementation does nothing.

Reimplemented in StelViewportDistorterFisheyeToSphericMirror.

Definition at line 48 of file StelViewportEffect.hpp.

virtual void StelViewportEffect::drawToViewport ( class StelRenderer renderer)
pure virtual

Apply the effect and draw the viewport.

This actually puts the result of rendering onto the screen.

Parameters
rendererRenderer to draw with.

Implemented in StelViewportDistorterFisheyeToSphericMirror.


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