HDK
|
#include "CH_API.h"
#include "CH_Collection.h"
#include "CH_ExprLanguage.h"
#include "CH_EventManager.h"
#include "CH_Manager.h"
#include "CH_Segment.h"
#include "CH_Types.h"
#include <UT/UT_Array.h>
#include <UT/UT_Assert.h>
#include <UT/UT_Debug.h>
#include <UT/UT_DeepString.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_Interval.h>
#include <UT/UT_String.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_SuperInterval.h>
#include <UT/UT_Swap.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_StaticAssert.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
#include <stddef.h>
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... | |
Macros | |
#define | CH_Node void |
#define | CH_Parm void |
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_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 &sorted_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 | CHmoveKeysWithDeltas (CH_Channel *chp, const UT_FprealArray &orig_keys, const UT_FprealArray &time_offsets, const UT_FprealArray &value_offsets) |
Variables | |
CH_API char | CHvalueNames [2][CH_NUM_VALUES] |
#define CH_Node void |
Definition at line 48 of file CH_Channel.h.
#define CH_Parm void |
Definition at line 49 of file CH_Channel.h.
enum CH_ChannelBehavior |
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 55 of file CH_Channel.h.
enum CH_ChannelFlag |
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_FLAG_MASK |
Definition at line 69 of file CH_Channel.h.
enum CH_GetKeyExtend |
Enumerator | |
---|---|
CH_GETKEY_EXTEND_NONE | |
CH_GETKEY_EXTEND_DEFAULT | |
CH_GETKEY_EXTEND_BOUNDARY |
Definition at line 89 of file CH_Channel.h.
CH_API void CHfindMoveKeysDelta | ( | const CH_Channel * | chp, |
bool | snap_to_frame, | ||
fpreal | base_time, | ||
const UT_FprealArray & | sorted_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 CHmoveKeysWithDeltas | ( | CH_Channel * | chp, |
const UT_FprealArray & | orig_keys, | ||
const UT_FprealArray & | time_offsets, | ||
const UT_FprealArray & | value_offsets | ||
) |
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.
CH_API char CHvalueNames[2][CH_NUM_VALUES] |