Olive
cornerpineffect.h
1 #ifndef CORNERPINEFFECT_H
2 #define CORNERPINEFFECT_H
3 
4 #include "project/effect.h"
5 
6 class CornerPinEffect : public Effect {
7  Q_OBJECT
8 public:
9  CornerPinEffect(Clip* c, const EffectMeta* em);
10  void process_coords(double timecode, GLTextureCoords& coords, int data);
11  void process_shader(double timecode, GLTextureCoords& coords, int iterations);
12  void gizmo_draw(double timecode, GLTextureCoords& coords);
13 private:
14  EffectField* top_left_x;
15  EffectField* top_left_y;
16  EffectField* top_right_x;
17  EffectField* top_right_y;
18  EffectField* bottom_left_x;
19  EffectField* bottom_left_y;
20  EffectField* bottom_right_x;
21  EffectField* bottom_right_y;
22  EffectField* perspective;
23 
24  EffectGizmo* top_left_gizmo;
25  EffectGizmo* top_right_gizmo;
26  EffectGizmo* bottom_left_gizmo;
27  EffectGizmo* bottom_right_gizmo;
28 };
29 
30 #endif // CORNERPINEFFECT_H
Definition: effect.h:105
Definition: effect.h:146
Definition: effect.h:27
Definition: effectgizmo.h:21
Definition: cornerpineffect.h:6
Definition: clip.h:33
Definition: effectfield.h:23