A Pulsar object represents one pulsar on the sky.
More...
#include <Pulsar.hpp>
|
| | Pulsar (const QVariantMap &map) |
| |
| QVariantMap | getMap (void) |
| | Get a QVariantMap which describes the pulsar. More...
|
| |
| virtual QString | getType (void) const |
| | Get the type of object. More...
|
| |
|
virtual float | getSelectPriority (const StelCore *core) const |
| |
| virtual QString | getInfoString (const StelCore *core, const InfoStringGroup &flags) const |
| | Get an HTML string to describe the object. More...
|
| |
|
virtual Vec3f | getInfoColor (void) const |
| |
|
virtual Vec3d | getJ2000EquatorialPos (const StelCore *) const |
| |
| virtual float | getVMagnitude (const StelCore *core) const |
| | Get the visual magnitude of pulsar. More...
|
| |
|
virtual float | getVMagnitudeWithExtinction (const StelCore *core) const |
| |
| virtual double | getAngularSize (const StelCore *core) const |
| | Get the angular size of pulsar. More...
|
| |
| virtual QString | getNameI18n (void) const |
| | Get the localized name of pulsar. More...
|
| |
| virtual QString | getEnglishName (void) const |
| | Get the english name of pulsar. More...
|
| |
|
void | update (double deltaTime) |
| |
A Pulsar object represents one pulsar on the sky.
Details about the Pulsars are passed using a QVariant which contains a map of data from the json file.
Definition at line 41 of file Pulsar.hpp.
| Pulsar::Pulsar |
( |
const QVariantMap & |
map | ) |
|
- Parameters
-
| id | The official designation for a pulsar, e.g. "PSR J1919+21" |
| virtual double Pulsar::getAngularSize |
( |
const StelCore * |
core | ) |
const |
|
virtual |
Get the angular size of pulsar.
| virtual QString Pulsar::getEnglishName |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual QString Pulsar::getInfoString |
( |
const StelCore * |
core, |
|
|
const InfoStringGroup & |
flags |
|
) |
| const |
|
virtual |
Get an HTML string to describe the object.
- Parameters
-
| core | A pointer to the core a set of flags with information types to include. |
Implements StelObject.
| QVariantMap Pulsar::getMap |
( |
void |
| ) |
|
Get a QVariantMap which describes the pulsar.
Could be used to create a duplicate.
| virtual QString Pulsar::getNameI18n |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual QString Pulsar::getType |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual float Pulsar::getVMagnitude |
( |
const StelCore * |
core | ) |
const |
|
virtual |
Get the visual magnitude of pulsar.
The documentation for this class was generated from the following file: