Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

StelFader Class Reference

Manages a (usually smooth) transition between two states (typically ON/OFF) in function of a counter It used for various purpose like smooth transitions between. More...

#include <StelFader.hpp>

Inherited by BooleanFader, LinearFader, and ParabolicFader.

List of all members.

Public Member Functions

 StelFader (bool initialState, float minimumValue=0.f, float maximumValue=1.f)
virtual void update (int deltaTicks)=0
virtual float getInterstate (void) const =0
virtual float getInterstatePercentage (void) const =0
virtual StelFaderoperator= (bool s)=0
bool operator== (bool s) const
 operator bool () const
virtual void setDuration (int _duration)
virtual float getDuration (void)=0
virtual void setMinValue (float _min)
virtual void setMaxValue (float _max)
float getMinValue (void)
float getMaxValue (void)

Protected Attributes

bool state
float minValue
float maxValue


Detailed Description

Manages a (usually smooth) transition between two states (typically ON/OFF) in function of a counter It used for various purpose like smooth transitions between.

Generated on Mon Mar 22 09:55:38 2010 for Stellarium by  doxygen 1.5.5