23 #ifndef _ZONEARRAY_HPP_
24 #define _ZONEARRAY_HPP_
30 #include "ZoneData.hpp"
33 #include "StelCore.hpp"
34 #include "StarMgr.hpp"
35 #include "StelProjector.hpp"
36 #include "StelSkyDrawer.hpp"
46 # if (defined(__sgi) && defined(_COMPILER_VERSION))
47 # define MAP_NORESERVE MAP_AUTORESRV
50 # define MAP_NORESERVE 0
54 namespace BigStarCatalogExtension
57 #define NR_OF_HIP 120416
58 #define FILE_MAGIC 0x835f040a
59 #define FILE_MAGIC_OTHER_ENDIAN 0x0a045f83
60 #define FILE_MAGIC_NATIVE 0x835f040b
61 #define MAX_MAJOR_FILE_VERSION 0
87 static ZoneArray *
create(
const QString &extended_file_name,
bool use_mmap);
101 QList<StelObjectP> &result) = 0;
105 bool is_inside,
const float *rcmag_table,
StelCore* core,
106 unsigned int maxMagStarName,
float names_brightness)
const = 0;
117 virtual void scaleAxis(
void) = 0;
134 float star_position_scale;
139 static bool readFile(QFile& file,
void *data, qint64 size);
143 unsigned int nr_of_zones;
144 unsigned int nr_of_stars;
186 bool is_inside,
const float *rcmag_table,
StelCore* core,
187 unsigned int maxMagStarName,
float names_brightness)
const;
189 void scaleAxis(
void);
191 QList<StelObjectP > &result);
216 #endif // _ZONEARRAY_HPP_