ConstellationsArt
#include <constellationsart.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
Information about a ConstellationsArt object.
This class represents a constellation image.
Provides all necessary information about a constellationsart object data inherited from SkyObject includes RA/DEC coordinate pairs. Data specific to ConstellationsArt objects includes the abbreviation filename, constellation image, position angle, width and height.
- Version
- 0.1
Definition at line 28 of file constellationsart.h.
Constructor & Destructor Documentation
◆ ConstellationsArt()
|
explicit |
Constructor.
Set ConstellationsArt data according to parameters.
- Parameters
-
midpointra RA of the midpoint of the constellation midpointdec DEC of the midpoint of the constellation pa position angle w width of the constellation image h height of the constellation image abbreviation abbreviation of the constellation filename the file name of the image of the constellation.
Definition at line 11 of file constellationsart.cpp.
Member Function Documentation
◆ getAbbrev()
|
inline |
- Returns
- an object's abbreviation
Definition at line 60 of file constellationsart.h.
◆ getHeight()
|
inline |
- Returns
- an object's height
Definition at line 75 of file constellationsart.h.
◆ getImageFileName()
|
inline |
- Returns
- an object's image file name
Definition at line 63 of file constellationsart.h.
◆ getWidth()
|
inline |
- Returns
- an object's width
Definition at line 72 of file constellationsart.h.
◆ image()
- Returns
- an object's image
Definition at line 45 of file constellationsart.h.
◆ loadImage()
void ConstellationsArt::loadImage | ( | ) |
Load the object's image.
This also scales the object's image to 1024x1024 pixels.
Definition at line 28 of file constellationsart.cpp.
◆ pa()
|
inlineoverridevirtual |
- Returns
- an object's position angle
Reimplemented from SkyObject.
Definition at line 66 of file constellationsart.h.
◆ setPositionAngle()
|
inline |
Set the position angle.
Definition at line 69 of file constellationsart.h.
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:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.