Blender V4.3
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 60 of file BCAnimationCurve.h.

Constructor & Destructor Documentation

◆ BCBezTriple()

BCBezTriple::BCBezTriple ( BezTriple & bezt)

Definition at line 642 of file BCAnimationCurve.cpp.

Member Function Documentation

◆ get_angle()

float BCBezTriple::get_angle ( ) const

Definition at line 659 of file BCAnimationCurve.cpp.

References get_value(), and RAD2DEGF.

◆ get_frame()

float BCBezTriple::get_frame ( ) const

Definition at line 644 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 664 of file BCAnimationCurve.cpp.

References get_tangent().

◆ get_out_tangent()

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

Definition at line 669 of file BCAnimationCurve.cpp.

References get_tangent().

◆ get_tangent()

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

Definition at line 674 of file BCAnimationCurve.cpp.

References bezt, BEZT_IPO_BEZ, FRA2TIME, BezTriple::ipo, 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 649 of file BCAnimationCurve.cpp.

References bezt, FRA2TIME, and BezTriple::vec.

◆ get_value()

float BCBezTriple::get_value ( ) const

Definition at line 654 of file BCAnimationCurve.cpp.

References bezt, and BezTriple::vec.

Referenced by get_angle().

Member Data Documentation

◆ bezt

BezTriple& BCBezTriple::bezt

Definition at line 62 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: