Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiSpline::BezierSpline< T, Key > Class Template Reference

Inherits UiSpline::TSpline< KeyType, BasisType >.

Public Types

typedef TSpline< Key, spline::BezierBasis > super_type
 
- Public Types inherited from UiSpline::TSpline< KeyType, BasisType >
enum  {
  ORT_CONSTANT = 0x0001 , ORT_CYCLE = 0x0002 , ORT_LOOP = 0x0003 , ORT_OSCILLATE = 0x0004 ,
  ORT_LINEAR = 0x0005 , ORT_RELATIVE_REPEAT = 0x0007
}
 
enum  { MODIFIED = 0x0001 , MUST_SORT = 0x0002 }
 
typedef KeyType key_type
 
typedef KeyType::value_type value_type
 
typedef BasisType basis_type
 

Public Member Functions

 using_type (super_type, key_type)
 
 using_type (super_type, value_type)
 
virtual void comp_deriv ()
 
- Public Member Functions inherited from UiSpline::TSpline< KeyType, BasisType >
ILINE void flag_set (int flag)
 
ILINE void flag_clr (int flag)
 
ILINE int flag (int flag)
 
ILINE void ORT (int ort)
 
ILINE int ORT () const
 
ILINE int isORT (int o) const
 
ILINE void SetRange (float start, float end)
 
ILINE float GetRangeStart () const
 
ILINE float GetRangeEnd () const
 
ILINE void reserve_keys (int n)
 
ILINE void clear ()
 
ILINE void resize (int num)
 
ILINE bool empty () const
 
ILINE int num_keys () const
 
ILINE key_type & key (int n)
 
ILINE float & time (int n)
 
ILINE value_type & value (int n)
 
ILINE value_type & ds (int n)
 
ILINE value_type & dd (int n)
 
ILINE int & flags (int n)
 
ILINE key_type const & key (int n) const
 
ILINE float time (int n) const
 
ILINE value_type const & value (int n) const
 
ILINE value_type const & ds (int n) const
 
ILINE value_type const & dd (int n) const
 
ILINE int flags (int n) const
 
ILINE int GetInTangentType (int nkey) const
 
ILINE int GetOutTangentType (int nkey) const
 
ILINE void erase (int key)
 
ILINE bool closed ()
 
ILINE void SetModified (bool bOn, bool bSort=false)
 
ILINE void sort_keys ()
 
ILINE void push_back (const key_type &k)
 
ILINE int insert_key (const key_type &k)
 
ILINE int insert_key (float t, value_type const &val)
 
void update ()
 
bool is_updated () const
 
bool interpolate (float t, value_type &val)
 
size_t mem_size () const
 
size_t sizeofThis () const
 
void swap (TSpline< KeyType, BasisType > &b)
 
virtual void comp_deriv ()=0
 
virtual void interp_keys (int key1, int key2, float u, value_type &val)=0
 
void add_ref ()
 
void release ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *)
 
- Static Public Member Functions inherited from UiSpline::TSpline< KeyType, BasisType >
static void Reflect (AZ::ReflectContext *)
 

Protected Member Functions

virtual void interp_keys (int from, int to, float u, T &val)
 
- Protected Member Functions inherited from UiSpline::TSpline< KeyType, BasisType >
int seek_key (float t)
 
void adjust_time (float &t)
 

Additional Inherited Members

- Protected Attributes inherited from UiSpline::TSpline< KeyType, BasisType >
AZStd::vector< key_type > m_keys
 
uint8 m_flags
 
uint8 m_ORT
 
int16 m_curr
 
float m_rangeStart
 
float m_rangeEnd
 

Member Function Documentation

◆ comp_deriv()

template<class T , class Key = SplineKeyEx<T>>
virtual void UiSpline::BezierSpline< T, Key >::comp_deriv ( )
inlinevirtual

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