HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH_Channel.h File Reference
#include "CH_API.h"
#include "CH_Collection.h"
#include "CH_EventManager.h"
#include "CH_Manager.h"
#include "CH_Segment.h"
#include "CH_Types.h"
#include <UT/UT_Defines.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_IStream.h>
#include <UT/UT_String.h>
#include <UT/UT_SuperInterval.h>
#include <UT/UT_Swap.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
#include <stddef.h>
+ Include dependency graph for CH_Channel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CH_HalfKey
 
class  CH_Key
 
class  CH_FullKey
 
class  CH_ReversibleKey
 
class  CH_ChannelIterator
 
class  CH_Channel
 
class  CH_Channel::ConstIntervalIter
 Const iterator over an interval. More...
 
class  CH_Channel::IntervalIter
 Iterator over an interval. More...
 

Enumerations

enum  CH_ChannelBehavior {
  CH_CHANNEL_DEFAULT, CH_CHANNEL_HOLD, CH_CHANNEL_CYCLE, CH_CHANNEL_EXTEND,
  CH_CHANNEL_SLOPE, CH_CHANNEL_CYCLEOFF, CH_CHANNEL_OSCILLATE, CH_CHANNEL_BEHAVIOR_COUNT
}
 
enum  CH_ChannelFlag {
  CH_CHANNEL_NONE = 0x00, CH_CHANNEL_MODIFIED = 0x01, CH_CHANNEL_COOKING = 0x02, CH_CACHE_ENABLED = 0x04,
  CH_CHANNEL_SPARE = 0x08, CH_CHANNEL_ACTIVE = 0x10, CH_CHANNEL_PENDING = 0x20, CH_CHANNEL_PENDINGHOLD = 0x40,
  CH_CHANNEL_LOCKED = 0x80, CH_CHANNEL_SAVE_MASK = CH_CHANNEL_PENDING, CH_CHANNEL_FLAG_MASK = 0xFF
}
 
enum  CH_GetKeyExtend { CH_GETKEY_EXTEND_NONE, CH_GETKEY_EXTEND_DEFAULT, CH_GETKEY_EXTEND_BOUNDARY }
 

Functions

CH_API void CHstretchSlopeAccel (fpreal xscale, fpreal yscale, fpreal &slope, fpreal &accel, bool accel_ratio)
 
CH_API void CHfindMoveKeysDelta (const CH_Channel *chp, bool snap_to_frame, fpreal base_time, const UT_FprealArray &orig_keys, fpreal accepted_dt, fpreal &attempted_dt)
 
CH_API void CHmoveKeysWithDelta (CH_Channel *chp, const UT_FprealArray &orig_keys, fpreal old_accepted_dt, fpreal new_accepted_dt)
 

Variables

CH_API char CHvalueNames [2][CH_NUM_VALUES]
 

Enumeration Type Documentation

Enumerator
CH_CHANNEL_DEFAULT 
CH_CHANNEL_HOLD 
CH_CHANNEL_CYCLE 
CH_CHANNEL_EXTEND 
CH_CHANNEL_SLOPE 
CH_CHANNEL_CYCLEOFF 
CH_CHANNEL_OSCILLATE 
CH_CHANNEL_BEHAVIOR_COUNT 

Definition at line 39 of file CH_Channel.h.

Enumerator
CH_CHANNEL_NONE 
CH_CHANNEL_MODIFIED 
CH_CHANNEL_COOKING 
CH_CACHE_ENABLED 
CH_CHANNEL_SPARE 
CH_CHANNEL_ACTIVE 
CH_CHANNEL_PENDING 
CH_CHANNEL_PENDINGHOLD 
CH_CHANNEL_LOCKED 
CH_CHANNEL_SAVE_MASK 
CH_CHANNEL_FLAG_MASK 

Definition at line 53 of file CH_Channel.h.

Enumerator
CH_GETKEY_EXTEND_NONE 
CH_GETKEY_EXTEND_DEFAULT 
CH_GETKEY_EXTEND_BOUNDARY 

Definition at line 73 of file CH_Channel.h.

Function Documentation

CH_API void CHfindMoveKeysDelta ( const CH_Channel chp,
bool  snap_to_frame,
fpreal  base_time,
const UT_FprealArray orig_keys,
fpreal  accepted_dt,
fpreal attempted_dt 
)
CH_API void CHmoveKeysWithDelta ( CH_Channel chp,
const UT_FprealArray orig_keys,
fpreal  old_accepted_dt,
fpreal  new_accepted_dt 
)
CH_API void CHstretchSlopeAccel ( fpreal  xscale,
fpreal  yscale,
fpreal slope,
fpreal accel,
bool  accel_ratio 
)

This function stretches the modifies the given slope and accel values according to the given factors. If the accel value is given as a ratio, then accel_ratio should be true.

Variable Documentation

CH_API char CHvalueNames[2][CH_NUM_VALUES]