![]() |
Stellarium 0.12.3
|
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) | |
| Handles loading of the meaty part of star catalogs. More... | |
Public Member Functions inherited from BigStarCatalogExtension::ZoneArray | |
| unsigned int | getNrOfStars () const |
| Get the total number of stars in this catalog. More... | |
| virtual void | updateHipIndex (HipIndexStruct hipIndex[]) const |
| Dummy method that does nothing. See subclass implementation. More... | |
| bool | isInitialized (void) const |
| Get whether or not the catalog was successfully loaded. More... | |
| void | initTriangle (int index, const Vec3f &c0, const Vec3f &c1, const Vec3f &c2) |
| Initialize the ZoneData struct at the given index. More... | |
Protected Member Functions | |
| SpecialZoneData< Star > * | getZones (void) const |
| Get an array of all SpecialZoneData objects in this catalog. More... | |
| void | draw (StelProjectorP projector, class StelRenderer *renderer, int index, bool is_inside, const float *rcmag_table, StelCore *core, unsigned int maxMagStarName, float names_brightness) const |
| Draw stars and their names onto the viewport. More... | |
| void | scaleAxis (void) |
| void | searchAround (const StelCore *core, int index, const Vec3d &v, double cosLimFov, QList< StelObjectP > &result) |
| Pure virtual method. See subclass implementation. More... | |
Protected Member Functions inherited from BigStarCatalogExtension::ZoneArray | |
| ZoneArray (const QString &fname, QFile *file, int level, int mag_min, int mag_range, int mag_steps) | |
| Protected constructor. Initializes fields and does not load anything. More... | |
Protected Attributes | |
| Star * | stars |
Protected Attributes inherited from BigStarCatalogExtension::ZoneArray | |
| unsigned int | nr_of_zones |
| unsigned int | nr_of_stars |
| ZoneData * | zones |
| QFile * | file |
Additional Inherited Members | |
Static Public Member Functions inherited from BigStarCatalogExtension::ZoneArray | |
| static ZoneArray * | create (const QString &extended_file_name, bool use_mmap) |
| Named public constructor for ZoneArray. More... | |
Public Attributes inherited from BigStarCatalogExtension::ZoneArray | |
| const QString | fname |
| File path of the catalog. More... | |
| const int | level |
| Level in StelGeodesicGrid. More... | |
| const int | mag_min |
| Lower bound of magnitudes in this catalog. Units: millimag. May be negative for brightest stars. More... | |
| const int | mag_range |
| Range of magnitudes in this catalog. Units: millimags. More... | |
| const int | mag_steps |
| Number of steps used to describe values in mag_range. Always positive. Individual stars have their mag entries from 0..mag_steps. More... | |
| float | star_position_scale |
Static Protected Member Functions inherited from BigStarCatalogExtension::ZoneArray | |
| static bool | readFile (QFile &file, void *data, qint64 size) |
| Load a catalog and display its progress on the splash screen. More... | |
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 |
|
protectedvirtual |
Draw stars and their names onto the viewport.
| projector | Projector to project 3D coords to the viewport. |
| renderer | Renderer to use for drawing. |
| 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.
|
inlineprotected |
Get an array of all SpecialZoneData objects in this catalog.
Definition at line 171 of file ZoneArray.hpp.
|
protectedvirtual |
Pure virtual method. See subclass implementation.
Implements BigStarCatalogExtension::ZoneArray.
1.8.3.1