@@ -222,6 +222,7 @@ friend class NebulaMgr;
222222 float getSurfaceArea (void ) const ;
223223
224224 void setProperName (QString name) { englishName = name; }
225+ void setDiscoveryData (QString name, QString year) { discoverer = name; discoveryYear = year; }
225226 void addNameAlias (QString name) { englishAliases.append (name); englishAliases.removeDuplicates (); }
226227 void removeAllNames () { englishName=" " ; englishAliases.clear (); }
227228
@@ -268,54 +269,56 @@ friend class NebulaMgr;
268269 QString getMorphologicalTypeDescription () const ;
269270
270271 unsigned int DSO_nb;
271- unsigned int M_nb; // Messier Catalog number
272- unsigned int NGC_nb; // New General Catalog number
273- unsigned int IC_nb; // Index Catalog number
274- unsigned int C_nb; // Caldwell Catalog number
275- unsigned int B_nb; // Barnard Catalog number (Dark Nebulae)
276- unsigned int Sh2_nb; // Sharpless Catalog number (Catalogue of HII Regions (Sharpless, 1959))
277- unsigned int VdB_nb; // van den Bergh Catalog number (Catalogue of Reflection Nebulae (van den Bergh, 1966))
278- unsigned int RCW_nb; // RCW Catalog number (H-α emission regions in Southern Milky Way (Rodgers+, 1960))
279- unsigned int LDN_nb; // LDN Catalog number (Lynds' Catalogue of Dark Nebulae (Lynds, 1962))
280- unsigned int LBN_nb; // LBN Catalog number (Lynds' Catalogue of Bright Nebulae (Lynds, 1965))
281- unsigned int Cr_nb; // Collinder Catalog number
282- unsigned int Mel_nb; // Melotte Catalog number
283- unsigned int PGC_nb; // PGC number (Catalog of galaxies)
284- unsigned int UGC_nb; // UGC number (The Uppsala General Catalogue of Galaxies)
285- unsigned int Arp_nb; // Arp number (Atlas of Peculiar Galaxies (Arp, 1966))
286- unsigned int VV_nb; // VV number (The Catalogue of Interacting Galaxies (Vorontsov-Velyaminov+, 2001))
287- unsigned int DWB_nb; // DWB number (Catalogue and distances of optically visible H II regions (Dickel+, 1969))
288- unsigned int Tr_nb; // Tr number (Trumpler Catalogue)
289- unsigned int St_nb; // St number (Stock Catalogue)
290- unsigned int Ru_nb; // Ru number (Ruprecht Catalogue)
291- unsigned int VdBHa_nb; // vdB-Ha number (van den Bergh-Hagen Catalogue)
292- QString Ced_nb; // Ced number (Cederblad Catalog of bright diffuse Galactic nebulae)
293- QString PK_nb; // PK number (Catalogue of Galactic Planetary Nebulae)
294- QString PNG_nb; // PN G number (Strasbourg-ESO Catalogue of Galactic Planetary Nebulae (Acker+, 1992))
295- QString SNRG_nb; // SNR G number (A catalogue of Galactic supernova remnants (Green, 2014))
296- QString ACO_nb; // ACO number (Rich Clusters of Galaxies (Abell+, 1989))
297- QString HCG_nb; // HCG number (Hickson Compact Group (Hickson, 1989))
298- QString ESO_nb; // ESO number (ESO/Uppsala Survey of the ESO(B) Atlas (Lauberts, 1982))
299- QString VdBH_nb; // VdBH number (Southern Stars embedded in nebulosity (van den Bergh+, 1975))
272+ unsigned int M_nb; // Messier Catalog number
273+ unsigned int NGC_nb; // New General Catalog number
274+ unsigned int IC_nb; // Index Catalog number
275+ unsigned int C_nb; // Caldwell Catalog number
276+ unsigned int B_nb; // Barnard Catalog number (Dark Nebulae)
277+ unsigned int Sh2_nb; // Sharpless Catalog number (Catalogue of HII Regions (Sharpless, 1959))
278+ unsigned int VdB_nb; // van den Bergh Catalog number (Catalogue of Reflection Nebulae (van den Bergh, 1966))
279+ unsigned int RCW_nb; // RCW Catalog number (H-α emission regions in Southern Milky Way (Rodgers+, 1960))
280+ unsigned int LDN_nb; // LDN Catalog number (Lynds' Catalogue of Dark Nebulae (Lynds, 1962))
281+ unsigned int LBN_nb; // LBN Catalog number (Lynds' Catalogue of Bright Nebulae (Lynds, 1965))
282+ unsigned int Cr_nb; // Collinder Catalog number
283+ unsigned int Mel_nb; // Melotte Catalog number
284+ unsigned int PGC_nb; // PGC number (Catalog of galaxies)
285+ unsigned int UGC_nb; // UGC number (The Uppsala General Catalogue of Galaxies)
286+ unsigned int Arp_nb; // Arp number (Atlas of Peculiar Galaxies (Arp, 1966))
287+ unsigned int VV_nb; // VV number (The Catalogue of Interacting Galaxies (Vorontsov-Velyaminov+, 2001))
288+ unsigned int DWB_nb; // DWB number (Catalogue and distances of optically visible H II regions (Dickel+, 1969))
289+ unsigned int Tr_nb; // Tr number (Trumpler Catalogue)
290+ unsigned int St_nb; // St number (Stock Catalogue)
291+ unsigned int Ru_nb; // Ru number (Ruprecht Catalogue)
292+ unsigned int VdBHa_nb; // vdB-Ha number (van den Bergh-Hagen Catalogue)
293+ QString Ced_nb; // Ced number (Cederblad Catalog of bright diffuse Galactic nebulae)
294+ QString PK_nb; // PK number (Catalogue of Galactic Planetary Nebulae)
295+ QString PNG_nb; // PN G number (Strasbourg-ESO Catalogue of Galactic Planetary Nebulae (Acker+, 1992))
296+ QString SNRG_nb; // SNR G number (A catalogue of Galactic supernova remnants (Green, 2014))
297+ QString ACO_nb; // ACO number (Rich Clusters of Galaxies (Abell+, 1989))
298+ QString HCG_nb; // HCG number (Hickson Compact Group (Hickson, 1989))
299+ QString ESO_nb; // ESO number (ESO/Uppsala Survey of the ESO(B) Atlas (Lauberts, 1982))
300+ QString VdBH_nb; // VdBH number (Southern Stars embedded in nebulosity (van den Bergh+, 1975))
300301 bool withoutID;
301- QString englishName; // English name
302- QStringList englishAliases; // English aliases
303- QString nameI18; // Nebula name
304- QStringList nameI18Aliases; // Nebula aliases
305- QString mTypeString ; // Morphological type of object (as string)
306- float bMag; // B magnitude
307- float vMag; // V magnitude. For Dark Nebulae, opacity is stored here.
308- float majorAxisSize; // Major axis size in degrees
309- float minorAxisSize; // Minor axis size in degrees
310- int orientationAngle; // Orientation angle in degrees
311- float oDistance; // distance (kpc)
312- float oDistanceErr; // Error of distance (kpc)
302+ QString englishName; // English name
303+ QStringList englishAliases; // English aliases
304+ QString nameI18; // Nebula name
305+ QStringList nameI18Aliases; // Nebula aliases
306+ QString discoverer; // The name of discoverer
307+ QString discoveryYear; // Year(s) of discovery
308+ QString mTypeString ; // Morphological type of object (as string)
309+ float bMag; // B magnitude
310+ float vMag; // V magnitude. For Dark Nebulae, opacity is stored here.
311+ float majorAxisSize; // Major axis size in degrees
312+ float minorAxisSize; // Minor axis size in degrees
313+ int orientationAngle; // Orientation angle in degrees
314+ float oDistance; // distance (kpc)
315+ float oDistanceErr; // Error of distance (kpc)
313316 float redshift;
314317 float redshiftErr;
315318 float parallax;
316319 float parallaxErr;
317- Vec3d XYZ; // Cartesian equatorial position (J2000.0)
318- Vec3d XY; // Store temporary 2D position
320+ Vec3d XYZ; // Cartesian equatorial position (J2000.0)
321+ Vec3d XY; // Store temporary 2D position
319322 NebulaType nType;
320323
321324 SphericalRegionP pointRegion;
@@ -328,13 +331,13 @@ friend class NebulaMgr;
328331 static StelTextureSP texGalaxyLarge; // Type 0_large
329332 static StelTextureSP texOpenCluster; // Type 1
330333 static StelTextureSP texOpenClusterLarge; // Type 1_large
331- static StelTextureSP texOpenClusterXLarge; // Type 1_extralarge
334+ static StelTextureSP texOpenClusterXLarge; // Type 1_extralarge
332335 static StelTextureSP texGlobularCluster; // Type 2
333- static StelTextureSP texGlobularClusterLarge; // Type 2_large
336+ static StelTextureSP texGlobularClusterLarge; // Type 2_large
334337 static StelTextureSP texPlanetaryNebula; // Type 3
335- static StelTextureSP texDiffuseNebula; // Type 4
336- static StelTextureSP texDiffuseNebulaLarge; // Type 4_large
337- static StelTextureSP texDiffuseNebulaXLarge; // Type 4_extralarge
338+ static StelTextureSP texDiffuseNebula; // Type 4
339+ static StelTextureSP texDiffuseNebulaLarge; // Type 4_large
340+ static StelTextureSP texDiffuseNebulaXLarge; // Type 4_extralarge
338341 static StelTextureSP texDarkNebula; // Type 5
339342 static StelTextureSP texDarkNebulaLarge; // Type 5_large
340343 static StelTextureSP texOpenClusterWithNebulosity; // Type 6
0 commit comments