28 #ifndef OPENSHOT_WAVE_EFFECT_H
29 #define OPENSHOT_WAVE_EFFECT_H
31 #include "../EffectBase.h"
37 #include "../KeyFrame.h"
57 void init_effect_details();
87 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
91 void SetJson(
string value);
92 Json::Value JsonValue();
93 void SetJsonValue(Json::Value root);
97 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
Keyframe wavelength
The length of the wave.
Keyframe speed_y
Speed of the wave on the Y-axis.
This class distorts an image using a wave pattern.
Keyframe shift_x
Amount to shift X-axis.
Keyframe amplitude
The height of the wave.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...
Keyframe multiplier
Amount to multiply the wave (make it bigger)