kfcurve.h File Reference


Detailed Description

Definition in file kfcurve.h.

#include <kfcurve/kfcurve_h.h>
#include <klib/karrayul.h>
#include <klib/ktime.h>
#include <object/e/keventbase.h>
#include <object/i/iobject.h>
#include <object/i/ifbobjectholder.h>
#include <klib/kdebug.h>
#include <kbaselib_forward.h>
#include <kbaselib_nsuse.h>
#include <kfcurve/kfcurve_nsbegin.h>
#include <kfcurve/kfcurveinline.h>
#include <kfcurve/kfcurve_nsend.h>

Include dependency graph for kfcurve.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KFCurveEvent
class  KFCurveTangeantInfo
 Defines a tangent derivative and weight. More...
class  KFCurveKey
 Defines a key within a function curve. More...
class  KFCurve
 Function curve class. More...

Defines

#define KFCURVE_INLINE   inline
#define KFCURVE_FLOAT
#define IKFCurveID   43763635

Typedefs

typedef float kFCurveDouble
typedef HKFCurve HIKFCurve
typedef KFCURVE_DLL KArrayTemplate<
KFCurve * > 
KArrayKFCurve
typedef kUInt kFCurveInterpolation
typedef kUInt kFCurveConstantMode
typedef kUInt kFCurveTangeantMode
typedef kUInt kFCurveTangeantWeightMode
typedef kUInt kFCurveTangeantVelocityMode
typedef kUInt kFCurveExtrapolationMode
typedef kUInt kFCurveTangeantVisibility
typedef int kFCurveIndex
typedef void(*) kFCurveCallback (KFCurve *pFCurve, KFCurveEvent *FCurveEvent, void *pObject)

Enumerations

enum  { ,
  KFCURVE_INTERPOLATION_LINEAR = 0x00000004,
  KFCURVE_INTERPOLATION_CUBIC = 0x00000008,
  KFCURVE_INTERPOLATION_ALL = KFCURVE_INTERPOLATION_CONSTANT|KFCURVE_INTERPOLATION_LINEAR|KFCURVE_INTERPOLATION_CUBIC
}
 Key interpolation type. More...
enum  
 Key constant mode. More...
enum  { ,
  KFCURVE_TANGEANT_TCB = 0x00000200,
  KFCURVE_TANGEANT_USER = 0x00000400,
  KFCURVE_GENERIC_BREAK = 0x00000800,
  KFCURVE_GENERIC_CLAMP = 0x00001000,
  KFCURVE_TANGEANT_BREAK = KFCURVE_TANGEANT_USER|KFCURVE_GENERIC_BREAK
}
 Key tangent mode for cubic interpolation. More...
enum  
 Selection mode. More...
enum  
 Manipulation flag. More...
enum  
 Tangent visibility. More...
enum  
 Continuity flag. More...
enum  
 Weighted mode. More...
enum  
enum  EKFCurveDataIndex
 KFCurveKey data indices for cubic interpolation tangent information. More...
enum  
 Extrapolation mode for function curve extremities. More...
enum  
enum  

Functions

KFCURVE_DLL HKFCurve KFCurveCreate ()
 Create a function curve.

Variables

const int KEY_BLOCK_SIZE = 1024
const int KEY_BLOCK_COUNT = KEY_BLOCK_SIZE/sizeof (KFCurveKey)
const int KEY_LIST_BLOCK_SIZE = 256
const int KEY_LIST_BLOCK_COUNT = KEY_LIST_BLOCK_SIZE/sizeof (KFCurveKey *)


Enumeration Type Documentation

anonymous enum

Extrapolation mode for function curve extremities.

Definition at line 216 of file kfcurve.h.

anonymous enum

Key interpolation type.

Enumerator:
KFCURVE_INTERPOLATION_LINEAR  Constant value until next key.
KFCURVE_INTERPOLATION_CUBIC  Linear progression to next key.
KFCURVE_INTERPOLATION_ALL  Cubic progression to next key.

Definition at line 91 of file kfcurve.h.

anonymous enum

Key constant mode.

Definition at line 101 of file kfcurve.h.

anonymous enum

Key tangent mode for cubic interpolation.

Enumerator:
KFCURVE_TANGEANT_TCB  Spline cardinal.
KFCURVE_TANGEANT_USER  Spline TCB.
KFCURVE_GENERIC_BREAK  Slope at the left equal to slope at the right.
KFCURVE_GENERIC_CLAMP  Independent left and right slopes.
KFCURVE_TANGEANT_BREAK  Auto key should be flat if next or prev keys have same value.

Definition at line 110 of file kfcurve.h.

anonymous enum

Selection mode.

Definition at line 126 of file kfcurve.h.

anonymous enum

Manipulation flag.

Definition at line 135 of file kfcurve.h.

anonymous enum

Tangent visibility.

Definition at line 142 of file kfcurve.h.

anonymous enum

Continuity flag.

Definition at line 151 of file kfcurve.h.

anonymous enum

Weighted mode.

Definition at line 160 of file kfcurve.h.

KFCurveKey data indices for cubic interpolation tangent information.

Definition at line 190 of file kfcurve.h.


Function Documentation

KFCURVE_DLL HKFCurve KFCurveCreate (  ) 

Create a function curve.