#include <CL_Clip.h>
Public Member Functions | |
| CL_Clip (int size) | |
| CL_Clip (const CL_Clip &from) | |
| ~CL_Clip () | |
| CL_Clip & | operator= (const CL_Clip &v) |
| void | copyContents (const CL_Clip &v, int data, int slerps) |
| int | getCheckDuplicateNames () const |
| void | setCheckDuplicateNames (int val) |
| void | clearAndDestroy () |
| void | setStart (float start) |
| float | getStart (void) const |
| float | getEnd (void) const |
| int | getTrackLength (void) const |
| void | setTrackLength (int length, int clear_extra=0) |
| void | setSampleRate (float rate) |
| float | getSampleRate (void) const |
| int | getTrackNames (UT_PtrArray< const char * > &list) const |
| int | getTracks (CL_TrackListC &list, const char *pattern=0) const |
| int | getTracks (UT_IntArray &list, const char *pat) const |
| int | isTimeDependent () const |
| int | numSlerps () const |
| int | copySlerpAttributes (const CL_Clip &v, int by_name=0) |
| int | resetSlerps () |
| int | findSlerp (const CL_Track *track, int &idx) const |
| int | getSlerp (int slerp_idx, int &x_idx, int &y_idx, int &z_idx) const |
| int | getSlerp (const CL_Track *track, int &x_idx, int &y_idx, int &z_idx) const |
| int | setSlerp (int x_idx, int y_idx, int z_idx) |
| int | slerpBlend (int slerp_idx, const float *xvalues, const float *yvalues, const float *zvalues, float start, int len, float base, const CL_Track *effect_track) |
| int | slerpBlend (int slerp_idx, const float *xvalues, const float *yvalues, const float *zvalues, float start, int len, float base, const CL_SubRange *effect) |
| int | validateSlerps () |
| void | setSlerpOrder (UT_XformOrder::xyzOrder o) |
| UT_XformOrder::xyzOrder | getSlerpOrder () const |
| void | removeTrack (int idx) |
| CL_Track * | addTrack (const char *name) |
| CL_Track * | dupTrackInfo (const CL_Track *, int data_too=0, const char *name=0) |
| int | getNumTracks (void) const |
| CL_Track * | getTrack (int index) |
| const CL_Track * | getTrack (int index) const |
| CL_Track * | getTrack (const char *name, int *index=0) |
| const CL_Track * | getTrack (const char *name, int *index=0) const |
| float | evaluateSingle (const CL_Track *track, float index) const |
| float | evaluateSingleTime (const CL_Track *track, float t) const |
| float | evaluateSingleFrame (const CL_Track *track, float f, float fps) const |
| void | evaluate (const CL_Track *track, float start_index, float stop_index, float *data, int size) const |
| int | evaluateSlerp (int slerp_idx, float start_index, float stop_index, float *xdata, float *ydata, float *zdata, int size) const |
| void | evaluateTime (const CL_Track *track, float start_time, float stop_time, float *data, int size) const |
| void | resampleTime (const CL_Track *track, float start_time, float stop_time, float *data, int size) const |
| void | getHeight (const CL_Track *track, float start_index, float stop_index, int nsamples, float *imin, float *imax) const |
| void | evaluateHeightRange (const CL_Track *track, float start_index, float stop_index, float *data, int size) const |
| int | extendTime (float t, int *delta) |
| float | getStartTime () const |
| float | getEndTime () const |
| void | dupAttributes (const CL_Clip &) |
| float | getIndex (float time) const |
| float | getTime (float index) const |
| float | getFrame (float index, float fps) const |
| float | getIndexF (float frame, float fps) const |
| void | trim (const CL_Clip *clip, float leftpos, float rightpos, int discard) |
| int | crop (int newlen, int add) |
| int | save (ostream &os, int binary) const |
| int | save (const char *nm) const |
| bool | load (UT_IStream &is, const char *path=0) |
| int | load (const char *nm) |
| int64 | getMemoryUsage (void) const |
| int | info (ostream &os, float fps, float t, int limit=1, CL_InfoCallback cb=0, void *cbdata=0) const |
| void | reorder (CL_TrackList &list) |
| void | crackSmooth (int xidx, int yidx, int zidz, UT_XformOrder order, int use_hint, float hx, float hy, float hz) |
| int | isSameRange (const CL_Clip &v) const |
| void | stashAll () |
| void | destroyStashed () |
| char * | newName (const char *oldname) const |
| void | setDefaults (void) |
| void | trackRenamed (CL_Track *track, const char *oldname) |
Static Public Member Functions | |
| static float | getTimeF (float frame, float fps) |
| static float | getFrameT (float time, float fps) |
| static float | fixedDecimal (float num, int digits=2) |
| static void | printNum (ostream &os, float num) |
CHOP/CHOP_Blend.C, CHOP/CHOP_Blend.h, and CHOP/CHOP_Spring.C.
Definition at line 38 of file CL_Clip.h.
| CL_Clip::CL_Clip | ( | int | size | ) |
| CL_Clip::CL_Clip | ( | const CL_Clip & | from | ) |
| CL_Clip::~CL_Clip | ( | ) |
| CL_Track* CL_Clip::addTrack | ( | const char * | name | ) |
| void CL_Clip::clearAndDestroy | ( | ) |
| void CL_Clip::copyContents | ( | const CL_Clip & | v, | |
| int | data, | |||
| int | slerps | |||
| ) |
| int CL_Clip::copySlerpAttributes | ( | const CL_Clip & | v, | |
| int | by_name = 0 | |||
| ) |
| void CL_Clip::crackSmooth | ( | int | xidx, | |
| int | yidx, | |||
| int | zidz, | |||
| UT_XformOrder | order, | |||
| int | use_hint, | |||
| float | hx, | |||
| float | hy, | |||
| float | hz | |||
| ) |
| int CL_Clip::crop | ( | int | newlen, | |
| int | add | |||
| ) |
| void CL_Clip::destroyStashed | ( | ) |
| void CL_Clip::dupAttributes | ( | const CL_Clip & | ) |
| void CL_Clip::evaluate | ( | const CL_Track * | track, | |
| float | start_index, | |||
| float | stop_index, | |||
| float * | data, | |||
| int | size | |||
| ) | const |
| void CL_Clip::evaluateHeightRange | ( | const CL_Track * | track, | |
| float | start_index, | |||
| float | stop_index, | |||
| float * | data, | |||
| int | size | |||
| ) | const |
| float CL_Clip::evaluateSingle | ( | const CL_Track * | track, | |
| float | index | |||
| ) | const [inline] |
| float CL_Clip::evaluateSingleFrame | ( | const CL_Track * | track, | |
| float | f, | |||
| float | fps | |||
| ) | const [inline] |
| float CL_Clip::evaluateSingleTime | ( | const CL_Track * | track, | |
| float | t | |||
| ) | const [inline] |
| int CL_Clip::evaluateSlerp | ( | int | slerp_idx, | |
| float | start_index, | |||
| float | stop_index, | |||
| float * | xdata, | |||
| float * | ydata, | |||
| float * | zdata, | |||
| int | size | |||
| ) | const |
| void CL_Clip::evaluateTime | ( | const CL_Track * | track, | |
| float | start_time, | |||
| float | stop_time, | |||
| float * | data, | |||
| int | size | |||
| ) | const [inline] |
| int CL_Clip::extendTime | ( | float | t, | |
| int * | delta | |||
| ) |
| int CL_Clip::findSlerp | ( | const CL_Track * | track, | |
| int & | idx | |||
| ) | const |
| static float CL_Clip::fixedDecimal | ( | float | num, | |
| int | digits = 2 | |||
| ) | [static] |
| float CL_Clip::getFrame | ( | float | index, | |
| float | fps | |||
| ) | const [inline] |
| static float CL_Clip::getFrameT | ( | float | time, | |
| float | fps | |||
| ) | [inline, static] |
| void CL_Clip::getHeight | ( | const CL_Track * | track, | |
| float | start_index, | |||
| float | stop_index, | |||
| int | nsamples, | |||
| float * | imin, | |||
| float * | imax | |||
| ) | const |
| float CL_Clip::getIndex | ( | float | time | ) | const [inline] |
| float CL_Clip::getIndexF | ( | float | frame, | |
| float | fps | |||
| ) | const [inline] |
| int64 CL_Clip::getMemoryUsage | ( | void | ) | const |
| int CL_Clip::getNumTracks | ( | void | ) | const [inline] |
| float CL_Clip::getSampleRate | ( | void | ) | const [inline] |
| int CL_Clip::getSlerp | ( | const CL_Track * | track, | |
| int & | x_idx, | |||
| int & | y_idx, | |||
| int & | z_idx | |||
| ) | const |
| int CL_Clip::getSlerp | ( | int | slerp_idx, | |
| int & | x_idx, | |||
| int & | y_idx, | |||
| int & | z_idx | |||
| ) | const |
| UT_XformOrder::xyzOrder CL_Clip::getSlerpOrder | ( | ) | const [inline] |
| float CL_Clip::getStart | ( | void | ) | const [inline] |
| float CL_Clip::getTime | ( | float | index | ) | const [inline] |
| static float CL_Clip::getTimeF | ( | float | frame, | |
| float | fps | |||
| ) | [inline, static] |
| const CL_Track* CL_Clip::getTrack | ( | const char * | name, | |
| int * | index = 0 | |||
| ) | const |
| CL_Track* CL_Clip::getTrack | ( | const char * | name, | |
| int * | index = 0 | |||
| ) |
| const CL_Track* CL_Clip::getTrack | ( | int | index | ) | const [inline] |
| CL_Track* CL_Clip::getTrack | ( | int | index | ) | [inline] |
| int CL_Clip::getTrackLength | ( | void | ) | const [inline] |
| int CL_Clip::getTrackNames | ( | UT_PtrArray< const char * > & | list | ) | const |
| int CL_Clip::getTracks | ( | UT_IntArray & | list, | |
| const char * | pat | |||
| ) | const |
| int CL_Clip::getTracks | ( | CL_TrackListC & | list, | |
| const char * | pattern = 0 | |||
| ) | const |
| int CL_Clip::info | ( | ostream & | os, | |
| float | fps, | |||
| float | t, | |||
| int | limit = 1, |
|||
| CL_InfoCallback | cb = 0, |
|||
| void * | cbdata = 0 | |||
| ) | const |
| int CL_Clip::isSameRange | ( | const CL_Clip & | v | ) | const |
| int CL_Clip::isTimeDependent | ( | ) | const |
| int CL_Clip::load | ( | const char * | nm | ) |
| bool CL_Clip::load | ( | UT_IStream & | is, | |
| const char * | path = 0 | |||
| ) |
| char* CL_Clip::newName | ( | const char * | oldname | ) | const |
| int CL_Clip::numSlerps | ( | ) | const |
| static void CL_Clip::printNum | ( | ostream & | os, | |
| float | num | |||
| ) | [static] |
| void CL_Clip::removeTrack | ( | int | idx | ) |
| void CL_Clip::reorder | ( | CL_TrackList & | list | ) |
| void CL_Clip::resampleTime | ( | const CL_Track * | track, | |
| float | start_time, | |||
| float | stop_time, | |||
| float * | data, | |||
| int | size | |||
| ) | const |
| int CL_Clip::resetSlerps | ( | ) |
| int CL_Clip::save | ( | const char * | nm | ) | const |
| int CL_Clip::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const |
| void CL_Clip::setDefaults | ( | void | ) |
| void CL_Clip::setSampleRate | ( | float | rate | ) | [inline] |
| int CL_Clip::setSlerp | ( | int | x_idx, | |
| int | y_idx, | |||
| int | z_idx | |||
| ) |
| void CL_Clip::setSlerpOrder | ( | UT_XformOrder::xyzOrder | o | ) | [inline] |
| void CL_Clip::setStart | ( | float | start | ) | [inline] |
| void CL_Clip::setTrackLength | ( | int | length, | |
| int | clear_extra = 0 | |||
| ) |
| int CL_Clip::slerpBlend | ( | int | slerp_idx, | |
| const float * | xvalues, | |||
| const float * | yvalues, | |||
| const float * | zvalues, | |||
| float | start, | |||
| int | len, | |||
| float | base, | |||
| const CL_SubRange * | effect | |||
| ) |
| int CL_Clip::slerpBlend | ( | int | slerp_idx, | |
| const float * | xvalues, | |||
| const float * | yvalues, | |||
| const float * | zvalues, | |||
| float | start, | |||
| int | len, | |||
| float | base, | |||
| const CL_Track * | effect_track | |||
| ) |
| void CL_Clip::stashAll | ( | ) |
| void CL_Clip::trackRenamed | ( | CL_Track * | track, | |
| const char * | oldname | |||
| ) |
| void CL_Clip::trim | ( | const CL_Clip * | clip, | |
| float | leftpos, | |||
| float | rightpos, | |||
| int | discard | |||
| ) |
| int CL_Clip::validateSlerps | ( | ) |
1.5.9