Olive
shakeeffect.h
1 #ifndef SHAKEEFFECT_H
2 #define SHAKEEFFECT_H
3 
4 #include "project/effect.h"
5 
6 #define RANDOM_VAL_SIZE 30
7 
8 class ShakeEffect : public Effect {
9  Q_OBJECT
10 public:
11  ShakeEffect(Clip* c, const EffectMeta* em);
12  void process_coords(double timecode, GLTextureCoords& coords, int data);
13 
14  EffectField* intensity_val;
15  EffectField* rotation_val;
16  EffectField* frequency_val;
17 private:
18  double random_vals[RANDOM_VAL_SIZE];
19 };
20 
21 #endif // SHAKEEFFECT_H
Definition: effect.h:105
Definition: effect.h:146
Definition: effect.h:27
Definition: clip.h:33
Definition: effectfield.h:23
Definition: shakeeffect.h:8