![]() |
Stellarium 0.11.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Implements all the virtual methods in ZoneArray. More...
#include <ZoneArray.hpp>
Public Member Functions | |
| SpecialZoneArray (QFile *file, bool byte_swap, bool use_mmap, int level, int mag_min, int mag_range, int mag_steps) | |
Protected Member Functions | |
| SpecialZoneData< Star > * | getZones (void) const |
| void | draw (StelPainter *sPainter, int index, bool is_inside, const float *rcmag_table, StelCore *core, unsigned int maxMagStarName, float names_brightness) const |
| void | scaleAxis (void) |
| void | searchAround (const StelCore *core, int index, const Vec3d &v, double cosLimFov, QList< StelObjectP > &result) |
Protected Attributes | |
| Star * | stars |
Implements all the virtual methods in ZoneArray.
Is only separate from ZoneArray because ZoneArray decides on the template parameter.
| BigStarCatalogExtension::SpecialZoneArray< Star >::SpecialZoneArray | ( | QFile * | file, |
| bool | byte_swap, | ||
| bool | use_mmap, | ||
| int | level, | ||
| int | mag_min, | ||
| int | mag_range, | ||
| int | mag_steps | ||
| ) |
Handles loading of the meaty part of star catalogs.
| file | catalog to load from |
| byte_swap | whether to switch endianness of catalog data |
| use_mmap | whether or not to mmap the star catalog |
| level | level in StelGeodesicGrid |
| mag_min | lower bound of magnitudes |
| mag_range | range of magnitudes |
| mag_steps | number of steps used to describe values in range |
| void BigStarCatalogExtension::SpecialZoneArray< Star >::draw | ( | StelPainter * | sPainter, |
| int | index, | ||
| bool | is_inside, | ||
| const float * | rcmag_table, | ||
| StelCore * | core, | ||
| unsigned int | maxMagStarName, | ||
| float | names_brightness | ||
| ) | const [protected, virtual] |
Draw stars and their names onto the viewport.
| sPainter | the painter to use |
| index | zone index to draw |
| is_inside | whether the zone is inside the current viewport |
| rcmag_table | table of magnitudes |
| core | core to use for drawing |
| maxMagStarName | magnitude limit of stars that display labels |
| names_brightness | brightness of labels |
Implements BigStarCatalogExtension::ZoneArray.
1.7.3