Supernova
#include <supernova.h>
Additional Inherited Members | |
Public Types inherited from SkyObject | |
enum | TYPE { STAR = 0 , CATALOG_STAR = 1 , PLANET = 2 , OPEN_CLUSTER = 3 , GLOBULAR_CLUSTER = 4 , GASEOUS_NEBULA = 5 , PLANETARY_NEBULA = 6 , SUPERNOVA_REMNANT = 7 , GALAXY = 8 , COMET = 9 , ASTEROID = 10 , CONSTELLATION = 11 , MOON = 12 , ASTERISM = 13 , GALAXY_CLUSTER = 14 , DARK_NEBULA = 15 , QUASAR = 16 , MULT_STAR = 17 , RADIO_SOURCE = 18 , SATELLITE = 19 , SUPERNOVA = 20 , NUMBER_OF_KNOWN_TYPES = 21 , TYPE_UNKNOWN = 255 } |
typedef qint64 | UID |
Static Public Member Functions inherited from SkyObject | |
static QString | typeName (const int t) |
Static Public Member Functions inherited from SkyPoint | |
static dms | findAltitude (const SkyPoint *p, const KStarsDateTime &dt, const GeoLocation *geo, const double hour=0) |
static dms | refract (const dms alt, bool conditional=true) |
static double | refract (const double alt, bool conditional=true) |
static double | refractionCorr (double alt) |
static SkyPoint | timeTransformed (const SkyPoint *p, const KStarsDateTime &dt, const GeoLocation *geo, const double hour=0) |
static dms | unrefract (const dms alt, bool conditional=true) |
static double | unrefract (const double alt, bool conditional=true) |
Static Public Attributes inherited from SkyObject | |
static const UID | invalidUID = ~0 |
static const UID | UID_DEEPSKY = 2 |
static const UID | UID_GALAXY = 1 |
static const UID | UID_SOLARSYS = 3 |
static const UID | UID_STAR = 0 |
Static Public Attributes inherited from SkyPoint | |
static const double | altCrit = -1.0 |
static bool | implementationIsLibnova = false |
Protected Member Functions inherited from SkyObject | |
void | setMag (float m) |
void | setName (const QString &name) |
void | setName2 (const QString &name2=QString()) |
Protected Member Functions inherited from SkyPoint | |
void | precess (const KSNumbers *num) |
Protected Attributes inherited from SkyObject | |
bool | has_been_updated = true |
QString | LongName |
QString | Name |
QString | Name2 |
Protected Attributes inherited from SkyPoint | |
double | lastPrecessJD { 0 } |
Detailed Description
Represents the supernova object.
It is a subclass of the SkyObject class. This class has the information for different supernovae.
N.B. This was modified to use the Open Supernova Project
- Note
- The Data File Contains the following parameters
- sName Designation
- RA Right Ascension
- Dec Declination
- type Supernova Type
- hostGalaxy Host Galaxy for the supernova
- date Discovery date yyyy/mm/dd
- sRedShift Redshift
- sMag Maximum Apparent magnitude
Definition at line 33 of file supernova.h.
Constructor & Destructor Documentation
◆ Supernova()
|
explicit |
Definition at line 16 of file supernova.cpp.
Member Function Documentation
◆ clone()
|
overridevirtual |
- Returns
- a clone of this object
- Note
- See SkyObject::clone()
Reimplemented from SkyObject.
Definition at line 24 of file supernova.cpp.
◆ getAgeDays()
|
inline |
Definition at line 59 of file supernova.h.
◆ getDate()
|
inline |
- Returns
- the date the supernova was observed
Definition at line 54 of file supernova.h.
◆ getHostGalaxy()
|
inline |
- Returns
- the host galaxy of the supernova
Definition at line 51 of file supernova.h.
◆ getRedShift()
|
inline |
- Returns
- the date the supernova was observed
Definition at line 57 of file supernova.h.
◆ getType()
|
inline |
- Returns
- the type of the supernova
Definition at line 48 of file supernova.h.
◆ initPopupMenu()
|
overridevirtual |
Initialize the popup menut.
This function should call correct initialization function in KSPopupMenu. By overloading the function, we don't have to check the object type when we need the menu.
Reimplemented from SkyObject.
Definition at line 30 of file supernova.cpp.
◆ url()
QString Supernova::url | ( | ) |
Definition at line 39 of file supernova.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.