COPASI API  4.16.103
CQCopasiAnimation.h
Go to the documentation of this file.
1 // Copyright (C) 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef Q_COPASI_ANIMATION_H
7 #define Q_COPASI_ANIMATION_H
8 
9 #include <vector>
10 #include <string>
11 
12 #include <qlayout/CQLayoutScene.h>
14 
17 {
18 public:
19  enum ScaleMode
20  {
23  };
24 
26  virtual ~CQCopasiAnimation();
27  virtual void removeFromScene(CQLayoutScene& scene);
28  virtual void initialize(const CCopasiDataModel &model) = 0;
29  virtual void getScales(std::vector<qreal>& scales, int step); //= 0;
30  virtual void applyToScene(CQLayoutScene& scene, int step);
31  virtual int getNumSteps();
32  ScaleMode getScaleMode() const;
33  void setScaleMode(ScaleMode mode);
34  std::vector<CQEffectDescription*>& getEntries();
35 protected:
36  std::vector<CQEffectDescription*> mEntries;
39  int mNumSteps; // populate with the number of steps
40 };
41 
42 #endif //Q_COPASI_ANIMATION_H
ScaleMode getScaleMode() const
virtual int getNumSteps()
virtual void removeFromScene(CQLayoutScene &scene)
virtual void getScales(std::vector< qreal > &scales, int step)
void setScaleMode(ScaleMode mode)
std::vector< CQEffectDescription * > & getEntries()
virtual void initialize(const CCopasiDataModel &model)=0
std::vector< CQEffectDescription * > mEntries
const CCopasiDataModel * mpDataModel
virtual void applyToScene(CQLayoutScene &scene, int step)