Stellarium  0.16.1
List of all members | Public Member Functions
ToastSurvey Class Reference

Represents a full Toast survey. More...

#include <StelToast.hpp>

+ Inheritance diagram for ToastSurvey:
+ Collaboration diagram for ToastSurvey:

Public Member Functions

 ToastSurvey (const QString &path, int maxLevel)
 
QString getTilePath (int level, int x, int y) const
 
void draw (StelPainter *sPainter)
 
const ToastGridgetGrid () const
 
int getMaxLevel () const
 
int getTilesSize () const
 
ToastTilegetCachedTile (int level, int x, int y)
 Returns a cached, non-active but recently used tile with the specified coordinates or Q_NULLPTR if not currently cached. More...
 
void putIntoCache (ToastTile *tile)
 Puts the given tile into the tile cache. The ownership of the tile will be taken. More...
 

Detailed Description

Represents a full Toast survey.

Definition at line 129 of file StelToast.hpp.

Member Function Documentation

ToastTile* ToastSurvey::getCachedTile ( int  level,
int  x,
int  y 
)

Returns a cached, non-active but recently used tile with the specified coordinates or Q_NULLPTR if not currently cached.

The ownership of the tile transfers to the caller.

void ToastSurvey::putIntoCache ( ToastTile tile)

Puts the given tile into the tile cache. The ownership of the tile will be taken.


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