22#ifndef ANIMATIONPARAMS_H
23#define ANIMATIONPARAMS_H
56 SetValueLong(_currentTimestepTag,
"Set timestep", (
long)ts);
A class that specifies parameters used in animation.
size_t GetStartTimestep() const
static const string _endTimestepTag
static const string _currentTimestepTag
void SetEndTimestep(size_t val)
static const string _startTimestepTag
AnimationParams(VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node)
bool GetRepeating() const
bool GetPlayBackwards() const
void SetStartTimestep(size_t ts)
size_t GetFrameStepSize() const
void SetMaxFrameRate(double rate)
static const string _repeatTag
static const string _playBackwardsTag
static const string _stepSizeTag
static const string _maxRateTag
AnimationParams(ParamsBase::StateSave *ssave)
static string GetClassType()
size_t GetEndTimestep() const
void SetRepeating(bool onOff)
void SetCurrentTimestep(size_t ts)
void SetPlayBackwards(bool val)
size_t GetCurrentTimestep() const
virtual ~AnimationParams()
void SetFrameStepSize(size_t val)
Nodes with state in Xml tree representation.
virtual double GetValueDouble(const string tag, double defaultVal) const
virtual void SetValueLong(const string &tag, string description, long value)
virtual void SetValueDouble(const string &tag, string description, double value)
virtual long GetValueLong(const string tag, long defaultVal) const