Stellarium 0.12.4
List of all members | Public Member Functions
BigStarCatalogExtension::HipZoneArray Class Reference

ZoneArray of Hipparcos stars. More...

#include <ZoneArray.hpp>

Public Member Functions

 HipZoneArray (QFile *file, bool byte_swap, bool use_mmap, int level, int mag_min, int mag_range, int mag_steps)
 
void updateHipIndex (HipIndexStruct hipIndex[]) const
 Add Hipparcos information for all stars in this catalog into hipIndex. More...
 
- Public Member Functions inherited from BigStarCatalogExtension::SpecialZoneArray< Star1 >
 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...
 
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from BigStarCatalogExtension::ZoneArray
static ZoneArraycreate (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
 
- Protected Member Functions inherited from BigStarCatalogExtension::SpecialZoneArray< Star1 >
SpecialZoneData< Star1 > * 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...
 
- 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...
 
- Protected Attributes inherited from BigStarCatalogExtension::SpecialZoneArray< Star1 >
Star1stars
 

Detailed Description

ZoneArray of Hipparcos stars.

It's just a SpecialZoneArray<Star1> that implements updateHipIndex(HipIndexStruct).

Definition at line 201 of file ZoneArray.hpp.

Member Function Documentation

void BigStarCatalogExtension::HipZoneArray::updateHipIndex ( HipIndexStruct  hipIndex[]) const
virtual

Add Hipparcos information for all stars in this catalog into hipIndex.

Parameters
hipIndexarray of Hipparcos info structs

Reimplemented from BigStarCatalogExtension::ZoneArray.


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