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

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

Provides access to scene rendering so StelRenderer can control it. More...

#include <StelRenderer.hpp>

Public Member Functions

virtual bool drawPartial ()=0
 Partially draw the scene. More...
 
virtual QPainter * getPainter ()=0
 Get QPainter used for Qt painting to the viewport. More...
 
virtual StelViewportEffectgetViewportEffect ()=0
 Get viewport effect to apply when drawing the viewport. More...
 

Detailed Description

Provides access to scene rendering so StelRenderer can control it.

Renderer implementations might decide to only draw parts of the scene each frame to increase FPS. This allows them to do so.

Definition at line 107 of file StelRenderer.hpp.

Member Function Documentation

virtual bool StelRenderClient::drawPartial ( )
pure virtual

Partially draw the scene.

Returns
false if the last part of the scene was drawn (i.e. we're done drawing), true otherwise.
virtual QPainter* StelRenderClient::getPainter ( )
pure virtual

Get QPainter used for Qt painting to the viewport.

(This painter might not necessarily end up being used - e.g. if a GL backend uses FBOs, it creates a painter to draw to the FBOs.)

virtual StelViewportEffect* StelRenderClient::getViewportEffect ( )
pure virtual

Get viewport effect to apply when drawing the viewport.

If this returns NULL, no viewport effect is used.


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