Blender  V3.3
Public Member Functions | Public Attributes | List of all members
BCBezTriple Class Reference

#include <BCAnimationCurve.h>

Public Member Functions

 BCBezTriple (BezTriple &bezt)
 
float get_frame () const
 
float get_time (Scene *scene) const
 
float get_value () const
 
float get_angle () const
 
void get_in_tangent (Scene *scene, float point[2], bool as_angle) const
 
void get_out_tangent (Scene *scene, float point[2], bool as_angle) const
 
void get_tangent (Scene *scene, float point[2], bool as_angle, int index) const
 

Public Attributes

BezTriplebezt
 

Detailed Description

Definition at line 58 of file BCAnimationCurve.h.

Constructor & Destructor Documentation

◆ BCBezTriple()

BCBezTriple::BCBezTriple ( BezTriple bezt)

Definition at line 632 of file BCAnimationCurve.cpp.

Member Function Documentation

◆ get_angle()

float BCBezTriple::get_angle ( ) const

Definition at line 651 of file BCAnimationCurve.cpp.

References get_value(), and RAD2DEGF.

◆ get_frame()

float BCBezTriple::get_frame ( ) const

Definition at line 636 of file BCAnimationCurve.cpp.

References bezt, and BezTriple::vec.

◆ get_in_tangent()

void BCBezTriple::get_in_tangent ( Scene scene,
float  point[2],
bool  as_angle 
) const

Definition at line 656 of file BCAnimationCurve.cpp.

References get_tangent(), point, and scene.

◆ get_out_tangent()

void BCBezTriple::get_out_tangent ( Scene scene,
float  point[2],
bool  as_angle 
) const

Definition at line 661 of file BCAnimationCurve.cpp.

References get_tangent(), point, and scene.

◆ get_tangent()

void BCBezTriple::get_tangent ( Scene scene,
float  point[2],
bool  as_angle,
int  index 
) const

Definition at line 666 of file BCAnimationCurve.cpp.

References bezt, BEZT_IPO_BEZ, FRA2TIME, BezTriple::ipo, point, RAD2DEGF, and BezTriple::vec.

Referenced by get_in_tangent(), and get_out_tangent().

◆ get_time()

float BCBezTriple::get_time ( Scene scene) const

Definition at line 641 of file BCAnimationCurve.cpp.

References bezt, FRA2TIME, and BezTriple::vec.

◆ get_value()

float BCBezTriple::get_value ( ) const

Definition at line 646 of file BCAnimationCurve.cpp.

References bezt, and BezTriple::vec.

Referenced by get_angle().

Member Data Documentation

◆ bezt

BezTriple& BCBezTriple::bezt

Definition at line 60 of file BCAnimationCurve.h.

Referenced by get_frame(), get_tangent(), get_time(), and get_value().


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