Olive
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 "project/effect.h"
25 
26 class CornerPinEffect : public Effect {
27  Q_OBJECT
28 public:
29  CornerPinEffect(ClipPtr 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: effect.h:128
EffectField * bottom_left_x
Definition: cornerpineffect.h:38
void process_shader(double timecode, GLTextureCoords &coords, int iterations)
Definition: cornerpineffect.cpp:84
Definition: effect.h:169
EffectField * top_right_x
Definition: cornerpineffect.h:36
Definition: effect.h:50
CornerPinEffect(ClipPtr c, const EffectMeta *em)
Definition: cornerpineffect.cpp:27
void process_coords(double timecode, GLTextureCoords &coords, int data)
Definition: cornerpineffect.cpp:70
std::shared_ptr< Clip > ClipPtr
Definition: cacher.h:28
EffectField * top_right_y
Definition: cornerpineffect.h:37
int iterations
Definition: effect.h:262
EffectField * bottom_right_x
Definition: cornerpineffect.h:40
Definition: effectgizmo.h:41
Definition: cornerpineffect.h:26
EffectGizmo * bottom_right_gizmo
Definition: cornerpineffect.h:47
EffectField * top_left_x
Definition: cornerpineffect.h:34
EffectGizmo * top_right_gizmo
Definition: cornerpineffect.h:45
EffectGizmo * bottom_left_gizmo
Definition: cornerpineffect.h:46
EffectField * top_left_y
Definition: cornerpineffect.h:35
Definition: effectfield.h:43
EffectField * perspective
Definition: cornerpineffect.h:42
void gizmo_draw(double timecode, GLTextureCoords &coords)
Definition: cornerpineffect.cpp:92
EffectField * bottom_right_y
Definition: cornerpineffect.h:41
EffectField * bottom_left_y
Definition: cornerpineffect.h:39