OpenShot Library | libopenshot 1.1.1
Loading...
Searching...
No Matches
openshot::AnimatedCurve Class Reference

#include <AnimatedCurve.h>

Public Member Functions

 AnimatedCurve ()
Keyframe BuildCurve (int64_t frame_number, double x_scale=1.0) const
std::string Json () const
Json::Value JsonValue () const
std::vector< AnimatedCurveNode > & Nodes ()
const std::vector< AnimatedCurveNode > & Nodes () const
float Sample (float input, int64_t frame_number) const
void SetJson (const std::string value)
void SetJsonValue (const Json::Value &root)
std::string Summary (int64_t frame_number) const

Public Attributes

Keyframe enabled

Detailed Description

Definition at line 49 of file AnimatedCurve.h.

Constructor & Destructor Documentation

◆ AnimatedCurve()

AnimatedCurve::AnimatedCurve ( )

Definition at line 103 of file AnimatedCurve.cpp.

Member Function Documentation

◆ BuildCurve()

Keyframe AnimatedCurve::BuildCurve ( int64_t frame_number,
double x_scale = 1.0 ) const

Definition at line 109 of file AnimatedCurve.cpp.

Referenced by Sample().

◆ Json()

std::string AnimatedCurve::Json ( ) const

Definition at line 144 of file AnimatedCurve.cpp.

◆ JsonValue()

Json::Value AnimatedCurve::JsonValue ( ) const

Definition at line 148 of file AnimatedCurve.cpp.

Referenced by Json().

◆ Nodes() [1/2]

std::vector< AnimatedCurveNode > & openshot::AnimatedCurve::Nodes ( )
inline

Definition at line 59 of file AnimatedCurve.h.

◆ Nodes() [2/2]

const std::vector< AnimatedCurveNode > & openshot::AnimatedCurve::Nodes ( ) const
inline

Definition at line 58 of file AnimatedCurve.h.

◆ Sample()

float AnimatedCurve::Sample ( float input,
int64_t frame_number ) const

Definition at line 128 of file AnimatedCurve.cpp.

◆ SetJson()

void AnimatedCurve::SetJson ( const std::string value)

Definition at line 157 of file AnimatedCurve.cpp.

◆ SetJsonValue()

void AnimatedCurve::SetJsonValue ( const Json::Value & root)

Definition at line 165 of file AnimatedCurve.cpp.

Referenced by SetJson().

◆ Summary()

std::string AnimatedCurve::Summary ( int64_t frame_number) const

Definition at line 136 of file AnimatedCurve.cpp.

Member Data Documentation

◆ enabled

Keyframe openshot::AnimatedCurve::enabled

Definition at line 54 of file AnimatedCurve.h.

Referenced by AnimatedCurve(), JsonValue(), Sample(), SetJsonValue(), and Summary().


The documentation for this class was generated from the following files: