Stellarium 0.11.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions

Nebula Class Reference

List of all members.

Public Member Functions

virtual QString getInfoString (const StelCore *core, const InfoStringGroup &flags) const
virtual QString getType () const
virtual Vec3d getJ2000EquatorialPos (const StelCore *) const
virtual double getCloseViewFov (const StelCore *core=NULL) const
virtual float getVMagnitude (const StelCore *core=NULL) const
virtual float getSelectPriority (const StelCore *core) const
virtual Vec3f getInfoColor () const
virtual QString getNameI18n () const
virtual QString getEnglishName () const
virtual double getAngularSize (const StelCore *) const
virtual SphericalRegionP getRegion () const
void setLabelColor (const Vec3f &v)
void setCircleColor (const Vec3f &v)
QString getTypeString () const

Member Function Documentation

virtual double Nebula::getAngularSize ( const StelCore core) const [inline, virtual]

Return the angular radius of a circle containing the object as seen from the observer with the circle center assumed to be at getJ2000EquatorialPos().

radius in degree. This value is the apparent angular size of the object, and is independent of the current FOV.

Implements StelObject.

virtual QString Nebula::getInfoString ( const StelCore core,
const InfoStringGroup flags 
) const [virtual]

Nebula support the following InfoStringGroup flags:

  • Name
  • CatalogNumber
  • Magnitude
  • RaDec
  • AltAzi
  • Distance
  • Size
  • Extra1 (contains the Nebula type, which might be "Galaxy", "Cluster" or similar)
  • PlainText.

corethe StelCore object
flagsa set of InfoStringGroup items to include in the return value.
a QString containing an HMTL encoded description of the Nebula.

Implements StelObject.

virtual SphericalRegionP Nebula::getRegion ( ) const [inline, virtual]

Default implementation of the getRegion method.

Calling this method on some object will cause an error if they need a valid StelNavigator instance to compute their position. Return the spatial region of the object.

Reimplemented from StelObject.

QString Nebula::getTypeString ( ) const

Get the printable nebula Type.

the nebula type code.