Stellarium  0.90.0
Public Member Functions
ToastSurvey Class Reference

Represents a full Toast survey. More...

#include <StelToast.hpp>

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.
 

Detailed Description

Member Function Documentation

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

The ownership of the tile transfers to the caller.