|
| CH_Channel (CH_Collection *dad, const UT_StringHolder &name, fpreal default_value=0, const char *default_string=nullptr, bool temporary=false) |
|
| CH_Channel (CH_Collection *dad, const CH_Channel &from) |
|
| CH_Channel (CH_Collection *dad, const CH_Channel &from, bool temporary) |
|
| ~CH_Channel () |
|
void | initializeFirstSegment (const char *expr, CH_ExprLanguage language) |
|
void | initializeSegmentParents () |
|
void | clear () |
| Clear everything, even the defaults. More...
|
|
void | swap (CH_Channel &other) |
|
const UT_StringHolder & | getName () const |
|
const UT_StringHolder & | getAlias () const |
|
void | getFullPath (UT_String &path) const |
|
void | getFullPath (UT_StringHolder &path) const |
|
void | setName (const UT_StringHolder &s) |
|
void | setAlias (const UT_StringHolder &s) |
|
CH_Manager * | getManager () const |
|
fpreal | getTolerance () const |
|
bool | isTimeDependent () const |
|
bool | isTimeDependentSlow (int thread) const |
|
bool | isStringTimeDependentSlow (int thread) const |
|
bool | hasNonIntegerKeys () const |
|
bool | isDataDependent (fpreal gtime) const |
|
bool | hasOnlyOneSegment () const |
|
bool | isRotationChannel () const |
|
bool | getSurroundingSegs (fpreal gtime, CH_Segment *&left, CH_Segment *&right) const |
|
CH_Segment * | getSegmentAfterKey (fpreal gtime) const |
|
bool | isAtKey (fpreal gtime) const |
|
bool | isAtHardKey (fpreal gtime) const |
|
bool | isAtHardKeyframe (int frame) const |
|
fpreal | findKey (fpreal gtime, fpreal direction) const |
|
int | findKeyframe (int frame, int direction) const |
|
void | sampleValueSlope (CH_Segment *seg, fpreal gtime, int thread, fpreal &v, fpreal &s) |
|
bool | sampleVSA (CH_Segment *seg, fpreal gtime, int thread, fpreal &v, fpreal &s, fpreal a[2]) |
|
void | sampleKey (CH_Segment *seg, fpreal gtime, int thread, CH_Key &key) |
|
bool | getKey (fpreal gtime, CH_Key &key, bool accel_ratios=true, CH_GetKeyExtend extend=CH_GETKEY_EXTEND_NONE) |
|
bool | getFullKey (fpreal gtime, CH_FullKey &key, bool reverse=false, bool accel_ratios=true, CH_GetKeyExtend extend=CH_GETKEY_EXTEND_NONE) |
|
bool | getReversibleKey (fpreal gtime, CH_ReversibleKey &key) |
|
void | putKey (fpreal gtime, CH_Key const &key, bool accel_ratios, bool apply_auto_slope, bool update_fake_slope_accel_handles) |
|
void | putFullKey (fpreal gtime, CH_FullKey const &key, bool accel_ratios, bool apply_auto_slope, bool update_fake_slope_accel_handles) |
|
void | putKey (fpreal gtime, CH_Key const &key, bool accel_ratios=true, bool apply_auto_slope=true) |
|
void | putFullKey (fpreal gtime, CH_FullKey const &key, bool accel_ratios=true, bool apply_auto_slope=true) |
|
void | transferKey (fpreal to_time, CH_Channel *from_chp, fpreal from_time) |
|
void | applyPendingToKey (CH_Key &key, fpreal gtime) |
|
void | applyDefaultSlopeToKey (CH_Key &key) |
|
void | insertKeyFrame (fpreal global_t, bool use_auto_slope_pref=true) |
| Insert key at given time. More...
|
|
void | destroyKeyFrame (fpreal global_t) |
| Delete key at given time. More...
|
|
void | moveKeyFrame (fpreal old_gtime, fpreal new_gtime) |
|
void | saveKeyFrameForUndo (fpreal global_t) |
|
void | saveForUndo () |
|
int | setKeyValue (fpreal val, fpreal gtime, bool set_pending=false, bool commit_keys=true, bool propagate=true) |
|
int | setKeyString (const UT_String &str, fpreal gtime, bool set_pending=false, bool commit_keys=true, bool propagate=true) |
|
int | setKeyString (const UT_String &str, fpreal gtime, CH_ExprLanguage language, bool set_pending=false, bool commit_keys=true, bool propagate=true) |
|
void | holdValue (fpreal gtime, int thread) |
|
void | getKeyFrames (const UT_SuperIntervalR &range, UT_Array< int > &frames, bool error_frames_only) |
|
void | getKeyTimes (const UT_SuperIntervalR &range, UT_Array< fpreal > ×, bool error_frames_only) |
|
void | getDisabledFrames (UT_Array< int > &frames, int minframe, int maxframe) |
|
CH_Segment * | getExpressionSegment (fpreal gtime) const |
|
const char * | getExpression (fpreal gtime) const |
|
bool | changeExpression (fpreal gtime, const char *expr, CH_ExprLanguage language, bool convert_accels) |
|
CH_ExprLanguage | getCollectionExprLanguage () const |
|
CH_ExprLanguage | getExprLanguageAtTime (fpreal time) const |
|
void | setExprLanguage (CH_ExprLanguage language) |
|
void | setExprLanguageAtTime (CH_ExprLanguage language, fpreal time) |
|
CH_StringMeaning | getStringMeaning (fpreal time) const |
|
void | clearSegments () |
|
void | deleteKeys (UT_SuperIntervalR const &range) |
| Delete keys in given range. More...
|
|
void | deleteKeys (const UT_Array< int > &ascending_sorted_key_indices) |
|
void | moveFrames (const UT_Array< int > &frames, int amount) |
|
bool | copyRangeOverwritesKeys (const CH_Channel &src, UT_SuperIntervalR const &range, UT_IntervalR const &to_range) |
|
bool | copyRangeOverwritesFrames (const CH_Channel &src, UT_SuperIntervalR const &range, UT_IntervalR const &to_range) |
|
bool | copyRangeOverwrites (const CH_Channel &src, UT_SuperIntervalR const &range, UT_IntervalR const &to_range) |
|
void | copyRange (const CH_Channel &src, UT_SuperIntervalR const &range, UT_IntervalR const &to_range, bool apply_auto_slope=true) |
|
void | copyRangeFrames (const CH_Channel &src, const UT_SuperIntervalR &range, const UT_IntervalR &to_range, const UT_Array< int > *frames=nullptr) |
|
void | deleteRangeFrames (UT_SuperIntervalR const &range, const UT_Array< int > *frames=nullptr) |
|
void | copyContents (const CH_Channel &from) |
|
void | swapContents (CH_Channel &other) |
|
void | copyRange (const CH_Channel &src, fpreal global_start, fpreal global_end) |
|
void | snapKeysInRange (const UT_SuperIntervalR &range, SnapType type=SNAP_SNAP, std::ostream *os=nullptr) |
|
void | scroll (fpreal new_start, bool update=true) |
|
void | stretch (fpreal new_start, fpreal new_end) |
|
void | reverse (fpreal gstart=0, fpreal gend=0, bool whole_chan=true) |
|
bool | increaseKeyValues (fpreal delta) |
|
bool | isAllDisabled () const |
|
bool | isAllEnabled () const |
|
bool | isDisabled (fpreal gtime) const |
|
void | disableAll (fpreal gtime) |
|
void | enableAll () |
|
void | disable (fpreal gstart, fpreal gend) |
|
void | enable (fpreal gstart, fpreal gend) |
|
SYS_FORCE_INLINE bool | isPending () const |
|
bool | isPending (fpreal gtime) const |
|
bool | isPendingLocal (fpreal ltime) const |
|
void | clearPending () |
|
void | updatePending (fpreal gtime) |
|
fpreal | getPendingEvalTime () const |
|
SYS_FORCE_INLINE bool | isPendingHold () const |
|
void | setPendingHold (bool state) |
|
void | save (std::ostream &os, bool binary, bool compiled, bool pending_state) const |
|
template<typename FPREAL_TYPE > |
bool | load (UT_IStream &is) |
|
void | display () const |
|
void | displayAsKeys () const |
|
void | setDefaultValue (fpreal dv) |
|
fpreal | getDefaultValue () const |
|
void | setDefaultString (const UT_StringHolder &dv) |
|
const UT_StringHolder & | getDefaultString () const |
|
void | setChannelLeftType (CH_ChannelBehavior t) |
|
void | setChannelRightType (CH_ChannelBehavior t) |
|
CH_ChannelBehavior | getChannelLeftType () const |
|
CH_ChannelBehavior | getChannelRightType () const |
|
void | setCollection (CH_Collection *chp) |
|
const CH_Collection * | getCollection () const |
|
CH_Collection * | getCollection () |
|
void | setIsTemporary (bool temp) |
|
bool | isTemporary () const |
|
void | setChangeActive (int state) |
|
bool | isChangeActive () const |
|
bool | getLocked () const |
|
void | setLocked (bool f) |
|
int | getChanged () const |
|
void | setChanged (bool on, CH_CHANGE_TYPE type=CH_CHANNEL_CHANGED) |
|
void | dirtyExprCache () |
|
int | canAccess (uint mask) const |
|
fpreal | localTime (fpreal t) const |
|
fpreal | globalTime (fpreal t) const |
|
fpreal | getStart () const |
|
fpreal | getEnd () const |
|
fpreal | getLength () const |
|
void | unresolveLocalVars (int thread) |
|
void | buildOpDependencies (void *ref_id, int thread) |
|
void | changeOpRef (const char *new_fullpath, const char *old_fullpath, const char *old_cwd, const char *chan_name, const char *old_chan_name, int thread) |
|
void | cook (int state) |
|
int | setRawValues (fpreal from, fpreal to, fpreal *vals, int nsamples) |
|
int | setRawValues (fpreal *times, fpreal *vals, int n) |
|
void | setScope (bool on_off) |
|
bool | isScoped () const |
|
bool | isEditable () |
|
fpreal | evaluate (fpreal t, bool no_disabling, int thread) |
|
void | evaluate (fpreal from, fpreal to, fpreal *vals, int nsamples, bool no_disabling, bool use_cache, int thread) |
|
fpreal | evaluateSegment (CH_Segment *eval, fpreal localtime, bool extend, int thread) |
|
void | evaluateString (UT_String &result, fpreal t, int thread) |
|
void | evaluateStringSegment (UT_String &result, CH_Segment *eval, fpreal localtime, bool extend, int thread) |
|
int | findString (const char *str, bool fullword, bool usewildcards) const |
|
int | changeString (const char *from, const char *to, bool fullword, bool update, int thread) |
|
const CH_Segment * | getEvaluationSegment (int thread) const |
|
CH_Segment * | getEvaluationSegment (int thread) |
|
const CH_Segment * | getPrevEvaluationSegment (int thread) const |
|
CH_Segment * | getPrevEvaluationSegment (int thread) |
|
const CH_Segment * | getNextEvaluationSegment (int thread) const |
|
CH_Segment * | getNextEvaluationSegment (int thread) |
|
fpreal | getInTime (int thread) const |
|
fpreal | getOutTime (int thread) const |
|
fpreal | getPrevInTime (int thread) const |
|
fpreal | getNextOutTime (int thread) const |
|
int | match (const char *pattern) const |
|
void | setConstantValue (fpreal value) |
|
bool | fitToPointData (UT_Vector2R *data, int n_pts, bool preserve_extrema, fpreal error2=0.01f, bool delete_old_segments=false) |
|
void | refit (fpreal tolerance, bool preserve_extrema) |
|
void | refit (fpreal tolerance, bool preserve_extrema, fpreal from_gtime, fpreal to_gtime, bool delete_old_segments) |
|
bool | setKeys (fpreal *new_key_values, int num_keys, fpreal global_start, fpreal time_delta, bool smooth_slopes=true, bool clear=false, bool notify=true) |
|
bool | isEmpty () const |
|
int | getNSegments () const |
|
int | getNKeys () const |
|
int | getNKeysBefore (fpreal gtime) const |
|
int | getNKeysBeforeOrAt (fpreal gtime) const |
|
fpreal | getKeyTime (unsigned idx) const |
|
unsigned | getSegmentIdx (fpreal local_time) const |
|
CH_Segment * | getSegment (unsigned idx) const |
|
CH_Segment * | getSegment (fpreal local_time) const |
|
CH_Segment * | getNextSegment (unsigned idx) const |
|
CH_Segment * | getPrevSegment (unsigned idx) const |
|
CH_Segment * | getFirstSegment () const |
|
CH_Segment * | getLastSegment () const |
|
int64 | getMemoryUsage (bool inclusive) const |
|
void | changeSegLength (CH_Segment *seg, fpreal gtime, CH_SegmentScale how=CH_SCALE_ANY, bool adjust_and_update=true) |
|
bool | getHaveCompiledExpressions () const |
|
bool | verify () |
|
bool | verify (bool verify_tied_values) |
|
void | saveSnapshot () |
|
void | undoSnapshot (CH_Channel *previous, bool previous_snapshot_cleared) |
|
bool | loadSnapshot () |
|
bool | swapSnapshot () |
|
bool | clearSnapshot () |
|
CH_Channel * | getSnapshotChannel () |
|
void | smoothAutoSlopesForSegments (UT_RLEBitArray &slope_flags, bool force=false, fpreal max_delta=-1) |
|
void | smoothAutoSlopes () |
|
void | smoothAutoSlopes (fpreal global_time, fpreal delta=-1, bool value_changed=true) |
|
void | smoothAutoSlopes (CH_Segment *seg) |
| Smooths slopes of keys at both ends of a segment. More...
|
|
void | setLayerScope (bool on_off) |
|
bool | isLayerScoped () const |
|
void | setCaptureCopiedKeys (UT_Array< fpreal > *capture_array) |
|
void | putChFullKey (fpreal gtime, CH_FullKey const &key, bool accel_ratios=true) |
|
fpreal | evaluateSegment (CH_Segment &eval, fpreal localtime, bool extend, int thread) |
|
fpreal | evaluateSegment (CH_Segment &eval, fpreal localtime, int thread) |
|
fpreal | evaluateSegment (CH_Segment *eval, fpreal localtime, int thread) |
|
fpreal | evaluateSegmentExtend (CH_Segment *eval, fpreal localtime, int thread) |
|
fpreal | evaluateSegmentExtend (CH_Segment &eval, fpreal localtime, int thread) |
|
fpreal | evaluateSegmentSlope (CH_Segment *eval, fpreal localtime, int thread) |
|
fpreal | evaluateSegmentSlopeApprox (CH_Segment *eval, fpreal localtime, int thread) |
|
bool | isSimpleChannel () const |
|
CL_SimpleChannel | asSimpleChannel () const |
|
void | fromSimpleChannel (const CL_SimpleChannel &sc) |
| Clears this channel and sets it from the given simple channel. More...
|
|
void | clear (bool clear_defaults) |
|
|
IntervalIter | intervalIter (const UT_SuperIntervalR &range, const bool ascending=true) const |
|
ConstIntervalIter | constIntervalIter (const UT_SuperIntervalR &range, const bool ascending=true) const |
|