Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
cornerpineffect.h
Go to the documentation of this file.
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef CORNERPINEFFECT_H
22 #define CORNERPINEFFECT_H
23 
24 #include "effects/effect.h"
25 
26 class CornerPinEffect : public Effect {
27  Q_OBJECT
28 public:
29  CornerPinEffect(Clip* c, const EffectMeta* em);
30  void process_coords(double timecode, GLTextureCoords& coords, int data);
31  void process_shader(double timecode, GLTextureCoords& coords, int iterations);
32  void gizmo_draw(double timecode, GLTextureCoords& coords);
33 private:
43 
48 };
49 
50 #endif // CORNERPINEFFECT_H
EffectGizmo * top_left_gizmo
Definition: cornerpineffect.h:44
Definition: effectgizmo.h:43
DoubleField * top_right_x
Definition: cornerpineffect.h:36
The DoubleField class.
Definition: doublefield.h:13
DoubleField * top_left_y
Definition: cornerpineffect.h:35
EffectGizmo * bottom_left_gizmo
Definition: cornerpineffect.h:46
void gizmo_draw(double timecode, GLTextureCoords &coords)
Definition: cornerpineffect.cpp:92
EffectGizmo * top_right_gizmo
Definition: cornerpineffect.h:45
BoolField * perspective
Definition: cornerpineffect.h:42
Definition: clip.h:56
CornerPinEffect(Clip *c, const EffectMeta *em)
Definition: cornerpineffect.cpp:27
DoubleField * bottom_right_x
Definition: cornerpineffect.h:40
Definition: effect.h:52
void process_coords(double timecode, GLTextureCoords &coords, int data)
Definition: cornerpineffect.cpp:70
DoubleField * bottom_left_y
Definition: cornerpineffect.h:39
Definition: effect.h:99
DoubleField * top_left_x
Definition: cornerpineffect.h:34
DoubleField * bottom_left_x
Definition: cornerpineffect.h:38
DoubleField * top_right_y
Definition: cornerpineffect.h:37
int iterations
Definition: effect.h:245
EffectGizmo * bottom_right_gizmo
Definition: cornerpineffect.h:47
The BoolField class.
Definition: boolfield.h:11
Definition: cornerpineffect.h:26
void process_shader(double timecode, GLTextureCoords &coords, int iterations)
Definition: cornerpineffect.cpp:84
Definition: effect.h:136
DoubleField * bottom_right_y
Definition: cornerpineffect.h:41