Stellarium 0.14.3
List of all members | Public Member Functions
MeteorObj Class Reference

Models a single meteor. More...

#include <MeteorObj.hpp>

Public Member Functions

 MeteorObj (const StelCore *, int speed, const float &radiantAlpha, const float &radiantDelta, const float &pidx, QList< Meteor::ColorPair > colors, const StelTextureSP &bolideTexture)
 Create a Meteor object. More...
 
- Public Member Functions inherited from Meteor
 Meteor (const StelCore *core, const StelTextureSP &bolideTexture)
 
void init (const float &radiantAlpha, const float &radiantDelta, const float &speed, const QList< ColorPair > colors)
 
virtual bool update (double deltaTime)
 
virtual void draw (const StelCore *core, StelPainter &sPainter)
 
bool isAlive ()
 
void setAbsMag (float mag)
 
float absMag ()
 

Additional Inherited Members

- Public Types inherited from Meteor
typedef QPair< QString, int > ColorPair
 

Detailed Description

Models a single meteor.

Author
Marcos Cardinot mcard.nosp@m.inot.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 30 of file MeteorObj.hpp.

Constructor & Destructor Documentation

MeteorObj::MeteorObj ( const StelCore ,
int  speed,
const float &  radiantAlpha,
const float &  radiantDelta,
const float &  pidx,
QList< Meteor::ColorPair colors,
const StelTextureSP bolideTexture 
)

Create a Meteor object.

Parameters
coreStelCore instance.
speedMeteor speed in km/s.
radiantAlphaThe radiant alpha in rad.
radiantDeltaThe radiant delta in rad.
pidxPopulation index.
colorsMeteor color.
bolideTextureBolide texture.

The documentation for this class was generated from the following file: