OpenShot Library | libopenshot  0.7.0
Public Member Functions | Public Attributes | List of all members
openshot::AnimatedCurve Class Reference

#include <AnimatedCurve.h>

Collaboration diagram for openshot::AnimatedCurve:
[legend]

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

◆ 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(), and openshot::ColorGrade::SetJsonValue().

◆ Summary()

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

Definition at line 136 of file AnimatedCurve.cpp.

Referenced by openshot::ColorGrade::PropertiesJSON().

Member Data Documentation

◆ enabled

Keyframe openshot::AnimatedCurve::enabled

Definition at line 54 of file AnimatedCurve.h.

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


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