Stellarium  0.16.1
List of all members | Public Member Functions
SporadicMeteor Class Reference

Models a single sporadic meteor with a random color and a random radiant. More...

#include <SporadicMeteor.hpp>

+ Inheritance diagram for SporadicMeteor:
+ Collaboration diagram for SporadicMeteor:

Public Member Functions

 SporadicMeteor (const StelCore *core, const float &maxVel, const StelTextureSP &bolideTexture)
 Create a SporadicMeteor object. More...
 
- Public Member Functions inherited from Meteor
 Meteor (const StelCore *core, const StelTextureSP &bolideTexture)
 Create a Meteor object. More...
 
void init (const float &radiantAlpha, const float &radiantDelta, const float &speed, const QList< ColorPair > colors)
 Initialize meteor. More...
 
virtual bool update (double deltaTime)
 Updates the position of the meteor, and expires it if necessary. More...
 
virtual void draw (const StelCore *core, StelPainter &sPainter)
 Draws the meteor. More...
 
bool isAlive ()
 Indicate if the meteor still visible. More...
 
void setAbsMag (float mag)
 Set meteor absolute magnitude. More...
 
float absMag ()
 Get meteor absolute magnitude. More...
 

Additional Inherited Members

- Public Types inherited from Meteor
typedef QPair< QString, int > ColorPair
 <colorName, intensity> More...
 

Detailed Description

Models a single sporadic meteor with a random color and a random radiant.

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

Definition at line 28 of file SporadicMeteor.hpp.

Constructor & Destructor Documentation

SporadicMeteor::SporadicMeteor ( const StelCore core,
const float &  maxVel,
const StelTextureSP bolideTexture 
)

Create a SporadicMeteor object.


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