HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_Clip Class Reference

#include <CL_Clip.h>

Public Member Functions

 CL_Clip (int size)
 
 CL_Clip (const CL_Clip &from)
 
 ~CL_Clip ()
 
CL_Clipoperator= (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 (fpreal start)
 
fpreal getStart (void) const
 
fpreal getEnd (void) const
 
int getTrackLength (void) const
 
void setTrackLength (int length, int clear_extra=0)
 
void setSampleRate (fpreal rate)
 
fpreal getSampleRate (void) const
 
int getTrackNames (UT_ValArray< 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
 
void setSlerpCapacity (int capacity)
 
int setSlerp (int x_idx, int y_idx, int z_idx)
 
int slerpBlend (int slerp_idx, const fpreal *xvalues, const fpreal *yvalues, const fpreal *zvalues, fpreal start, int len, fpreal base, const CL_Track *effect_track, const UT_XformOrder &order)
 
int slerpBlend (int slerp_idx, const fpreal *xvalues, const fpreal *yvalues, const fpreal *zvalues, fpreal start, int len, fpreal base, const CL_SubRange *effect, const UT_XformOrder &order)
 
int validateSlerps ()
 
void setSlerpOrder (UT_XformOrder::xyzOrder o)
 
UT_XformOrder::xyzOrder getSlerpOrder () const
 
void removeTrack (int idx)
 
void setTrackCapacity (int capacity)
 
CL_TrackaddTrack (const UT_StringHolder &name)
 
CL_TrackdupTrackInfo (const CL_Track *, int data_too=0, const UT_StringHolder &name=UT_StringHolder::theEmptyString)
 
int getNumTracks (void) const
 
CL_TrackgetTrack (int index)
 
const CL_TrackgetTrack (int index) const
 
CL_TrackgetTrack (const UT_StringRef &name, int *index=0)
 
const CL_TrackgetTrack (const UT_StringRef &name, int *index=0) const
 
fpreal evaluateSingle (const CL_Track *track, fpreal index) const
 
fpreal evaluateSingleTime (const CL_Track *track, fpreal t) const
 
fpreal evaluateSingleFrame (const CL_Track *track, fpreal f, fpreal fps) const
 
void evaluate (const CL_Track *track, fpreal start_index, fpreal stop_index, fpreal *data, int size) const
 
int evaluateSlerp (int slerp_idx, fpreal start_index, fpreal stop_index, fpreal *xdata, fpreal *ydata, fpreal *zdata, int size) const
 
void evaluateTime (const CL_Track *track, fpreal start_time, fpreal stop_time, fpreal *data, int size) const
 
void resampleTime (const CL_Track *track, fpreal start_time, fpreal stop_time, fpreal *data, int size) const
 
void getHeight (const CL_Track *track, fpreal start_index, fpreal stop_index, int nsamples, fpreal *imin, fpreal *imax) const
 
void evaluateHeightRange (const CL_Track *track, fpreal start_index, fpreal stop_index, fpreal *data, int size) const
 
int extendTime (fpreal t, int *delta)
 
fpreal getStartTime () const
 
fpreal getEndTime () const
 
void dupAttributes (const CL_Clip &)
 
fpreal getIndex (fpreal time) const
 
fpreal getTime (fpreal index) const
 
fpreal getFrame (fpreal index, fpreal fps) const
 
fpreal getIndexF (fpreal frame, fpreal fps) const
 
void trim (const CL_Clip *clip, fpreal leftpos, fpreal rightpos, int discard)
 
int crop (int newlen, int add)
 
int save (UT_OStream &os, const CL_ClipPrivateIO *priv=0, bool use_blosc_compresssion=false) const
 
int save (UT_OStream &os, UT_StringArray &parms, const CL_ClipPrivateIO *priv=0, bool use_blosc_compresssion=false) const
 
int save (const char *nm) const
 
bool load (UT_IStream &is, const char *path=0)
 
int load (const char *nm)
 
int64 getMemoryUsage (bool inclusive) const
 
int info (UT_OStream &os, fpreal fps, fpreal t, bool limit, CL_InfoCallback cb, void *cbdata) const
 
int info (UT_InfoTree &tree, fpreal fps, fpreal t, CL_InfoCallback cb, void *cbdata) const
 
void reorder (CL_TrackList &list)
 
void crackSmooth (int xidx, int yidx, int zidz, const UT_XformOrder &order, int use_hint, fpreal hx, fpreal hy, fpreal hz)
 
int isSameRange (const CL_Clip &v) const
 
void stashAll ()
 
void destroyStashed ()
 
void newName (const UT_StringRef &oldname, UT_WorkBuffer &newname) const
 
void setDefaults (void)
 
void trackRenamed (CL_Track *track, const UT_StringRef &oldname)
 
int setAttribute (const UT_StringHolder &name, const UT_StringHolder &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const fpreal32 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const fpreal64 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const int &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const int64 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector2 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector2D &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector3 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector3D &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector4 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Vector4D &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix2 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix2D &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix3 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix3D &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix4 &v, int track=-1, int sample=-1)
 
int setAttribute (const UT_StringHolder &name, const UT_Matrix4D &v, int track=-1, int sample=-1)
 
int getAttribute (const UT_StringHolder &name, UT_StringHolder &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, fpreal32 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, fpreal64 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, int &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, int64 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector2 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector2D &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector3 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector3D &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector4 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Vector4D &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix2 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix2D &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix3 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix3D &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix4 &v, int track=-1, int sample=-1) const
 
int getAttribute (const UT_StringHolder &name, UT_Matrix4D &v, int track=-1, int sample=-1) const
 
const CL_ClipAttributesgetAttributes () const
 
void setAttributes (const CL_ClipAttributes *attrs)
 
void updateAttributes (const UT_StringSet &keys, const CL_ClipAttributes *attrs)
 
int removeAttribute (const UT_StringHolder &name, int track=-1, int sample=-1)
 
int removeAttributes (const UT_StringHolder &names)
 
int getAttributeNames (const UT_StringHolder &attrclass, UT_StringArray &names) const
 
bool isUsingCurrentFrame () const
 
void setIsUsingCurrentFrame (bool b)
 
bool isConstant () const
 
void unsetIsConstant ()
 

Static Public Member Functions

static fpreal getTimeF (fpreal frame, fpreal fps)
 
static fpreal getFrameT (fpreal time, fpreal fps)
 
static fpreal fixedDecimal (fpreal num, int digits=2)
 
static void printNum (UT_OStream &os, fpreal num)
 
static int removeAttribute (CL_ClipAttributes *&attributes, const UT_StringHolder &name, int track=-1, int sample=-1)
 
static int removeAttributes (CL_ClipAttributes *&attributes, const UT_StringHolder &names)
 
static int getAttributeNames (const CL_ClipAttributes *attributes, const UT_StringHolder &attrclass, UT_StringArray &names)
 
static bool buildKey (const UT_StringHolder &name, int track, int sample, UT_WorkBuffer &key)
 

Friends

class ClearTrackNamesTask
 

Detailed Description

Constructor & Destructor Documentation

CL_Clip::CL_Clip ( int  size)
CL_Clip::CL_Clip ( const CL_Clip from)
CL_Clip::~CL_Clip ( )

Member Function Documentation

CL_Track* CL_Clip::addTrack ( const UT_StringHolder name)
bool CL_Clip::buildKey ( const UT_StringHolder name,
int  track,
int  sample,
UT_WorkBuffer key 
)
inlinestatic

Definition at line 518 of file CL_Clip.h.

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,
const UT_XformOrder order,
int  use_hint,
fpreal  hx,
fpreal  hy,
fpreal  hz 
)
int CL_Clip::crop ( int  newlen,
int  add 
)
void CL_Clip::destroyStashed ( )
void CL_Clip::dupAttributes ( const CL_Clip )
CL_Track* CL_Clip::dupTrackInfo ( const CL_Track ,
int  data_too = 0,
const UT_StringHolder name = UT_StringHolder::theEmptyString 
)
Examples:
CHOP/CHOP_Blend.C.
void CL_Clip::evaluate ( const CL_Track track,
fpreal  start_index,
fpreal  stop_index,
fpreal data,
int  size 
) const
void CL_Clip::evaluateHeightRange ( const CL_Track track,
fpreal  start_index,
fpreal  stop_index,
fpreal data,
int  size 
) const
fpreal CL_Clip::evaluateSingle ( const CL_Track track,
fpreal  index 
) const
inline
Examples:
CHOP/CHOP_Spring.C.

Definition at line 196 of file CL_Clip.h.

fpreal CL_Clip::evaluateSingleFrame ( const CL_Track track,
fpreal  f,
fpreal  fps 
) const
inline

Definition at line 202 of file CL_Clip.h.

fpreal CL_Clip::evaluateSingleTime ( const CL_Track track,
fpreal  t 
) const
inline
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 199 of file CL_Clip.h.

int CL_Clip::evaluateSlerp ( int  slerp_idx,
fpreal  start_index,
fpreal  stop_index,
fpreal xdata,
fpreal ydata,
fpreal zdata,
int  size 
) const
void CL_Clip::evaluateTime ( const CL_Track track,
fpreal  start_time,
fpreal  stop_time,
fpreal data,
int  size 
) const
inline
Examples:
CHOP/CHOP_Spring.C.

Definition at line 217 of file CL_Clip.h.

int CL_Clip::extendTime ( fpreal  t,
int delta 
)
int CL_Clip::findSlerp ( const CL_Track track,
int idx 
) const
static fpreal CL_Clip::fixedDecimal ( fpreal  num,
int  digits = 2 
)
static
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_StringHolder v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
fpreal32 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
fpreal64 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
int v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
int64 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector2 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector2D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector3 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector3D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector4 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Vector4D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix2 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix2D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix3 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix3D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix4 v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttribute ( const UT_StringHolder name,
UT_Matrix4D v,
int  track = -1,
int  sample = -1 
) const
int CL_Clip::getAttributeNames ( const UT_StringHolder attrclass,
UT_StringArray names 
) const
static int CL_Clip::getAttributeNames ( const CL_ClipAttributes attributes,
const UT_StringHolder attrclass,
UT_StringArray names 
)
static
const CL_ClipAttributes* CL_Clip::getAttributes ( ) const
inline

Definition at line 405 of file CL_Clip.h.

int CL_Clip::getCheckDuplicateNames ( ) const
inline

Definition at line 61 of file CL_Clip.h.

fpreal CL_Clip::getEnd ( void  ) const
inline

Definition at line 79 of file CL_Clip.h.

fpreal CL_Clip::getEndTime ( ) const
inline

Definition at line 258 of file CL_Clip.h.

fpreal CL_Clip::getFrame ( fpreal  index,
fpreal  fps 
) const
inline

Definition at line 273 of file CL_Clip.h.

static fpreal CL_Clip::getFrameT ( fpreal  time,
fpreal  fps 
)
inlinestatic

Definition at line 282 of file CL_Clip.h.

void CL_Clip::getHeight ( const CL_Track track,
fpreal  start_index,
fpreal  stop_index,
int  nsamples,
fpreal imin,
fpreal imax 
) const
fpreal CL_Clip::getIndex ( fpreal  time) const
inline
Examples:
CHOP/CHOP_Spring.C.

Definition at line 267 of file CL_Clip.h.

fpreal CL_Clip::getIndexF ( fpreal  frame,
fpreal  fps 
) const
inline

Definition at line 276 of file CL_Clip.h.

int64 CL_Clip::getMemoryUsage ( bool  inclusive) const
int CL_Clip::getNumTracks ( void  ) const
inline
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 173 of file CL_Clip.h.

fpreal CL_Clip::getSampleRate ( void  ) const
inline
Examples:
CHOP/CHOP_Spring.C.

Definition at line 90 of file CL_Clip.h.

int CL_Clip::getSlerp ( int  slerp_idx,
int x_idx,
int y_idx,
int z_idx 
) const
int CL_Clip::getSlerp ( const CL_Track track,
int x_idx,
int y_idx,
int z_idx 
) const
UT_XformOrder::xyzOrder CL_Clip::getSlerpOrder ( ) const
inline

Definition at line 155 of file CL_Clip.h.

fpreal CL_Clip::getStart ( void  ) const
inline
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 76 of file CL_Clip.h.

fpreal CL_Clip::getStartTime ( ) const
inline

Definition at line 255 of file CL_Clip.h.

fpreal CL_Clip::getTime ( fpreal  index) const
inline
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 270 of file CL_Clip.h.

static fpreal CL_Clip::getTimeF ( fpreal  frame,
fpreal  fps 
)
inlinestatic

Definition at line 279 of file CL_Clip.h.

CL_Track* CL_Clip::getTrack ( int  index)
inline
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 176 of file CL_Clip.h.

const CL_Track* CL_Clip::getTrack ( int  index) const
inline

Definition at line 180 of file CL_Clip.h.

CL_Track * CL_Clip::getTrack ( const UT_StringRef name,
int index = 0 
)
inline

Definition at line 500 of file CL_Clip.h.

const CL_Track * CL_Clip::getTrack ( const UT_StringRef name,
int index = 0 
) const
inline

Definition at line 509 of file CL_Clip.h.

int CL_Clip::getTrackLength ( void  ) const
inline
Examples:
CHOP/CHOP_Blend.C, CHOP/CHOP_Spring.C, and SOP/SOP_BouncyAgent.C.

Definition at line 82 of file CL_Clip.h.

int CL_Clip::getTrackNames ( UT_ValArray< const char * > &  list) const
int CL_Clip::getTracks ( CL_TrackListC list,
const char *  pattern = 0 
) const
int CL_Clip::getTracks ( UT_IntArray list,
const char *  pat 
) const
int CL_Clip::info ( UT_OStream os,
fpreal  fps,
fpreal  t,
bool  limit,
CL_InfoCallback  cb,
void cbdata 
) const
int CL_Clip::info ( UT_InfoTree tree,
fpreal  fps,
fpreal  t,
CL_InfoCallback  cb,
void cbdata 
) const
bool CL_Clip::isConstant ( ) const
inline

Definition at line 433 of file CL_Clip.h.

int CL_Clip::isSameRange ( const CL_Clip v) const
Examples:
CHOP/CHOP_Blend.C.
int CL_Clip::isTimeDependent ( ) const
bool CL_Clip::isUsingCurrentFrame ( ) const
inline

Definition at line 428 of file CL_Clip.h.

bool CL_Clip::load ( UT_IStream is,
const char *  path = 0 
)
int CL_Clip::load ( const char *  nm)
void CL_Clip::newName ( const UT_StringRef oldname,
UT_WorkBuffer newname 
) const
int CL_Clip::numSlerps ( ) const
CL_Clip& CL_Clip::operator= ( const CL_Clip v)
static void CL_Clip::printNum ( UT_OStream os,
fpreal  num 
)
static
int CL_Clip::removeAttribute ( const UT_StringHolder name,
int  track = -1,
int  sample = -1 
)
static int CL_Clip::removeAttribute ( CL_ClipAttributes *&  attributes,
const UT_StringHolder name,
int  track = -1,
int  sample = -1 
)
static
int CL_Clip::removeAttributes ( const UT_StringHolder names)
static int CL_Clip::removeAttributes ( CL_ClipAttributes *&  attributes,
const UT_StringHolder names 
)
static
void CL_Clip::removeTrack ( int  idx)
void CL_Clip::reorder ( CL_TrackList list)
void CL_Clip::resampleTime ( const CL_Track track,
fpreal  start_time,
fpreal  stop_time,
fpreal data,
int  size 
) const
int CL_Clip::resetSlerps ( )
int CL_Clip::save ( UT_OStream os,
const CL_ClipPrivateIO *  priv = 0,
bool  use_blosc_compresssion = false 
) const
int CL_Clip::save ( UT_OStream os,
UT_StringArray parms,
const CL_ClipPrivateIO *  priv = 0,
bool  use_blosc_compresssion = false 
) const
int CL_Clip::save ( const char *  nm) const
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_StringHolder v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const fpreal32 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const fpreal64 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const int v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const int64 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector2 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector2D v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector3 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector3D v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector4 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Vector4D v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix2 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix2D v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix3 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix3D v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix4 v,
int  track = -1,
int  sample = -1 
)
int CL_Clip::setAttribute ( const UT_StringHolder name,
const UT_Matrix4D v,
int  track = -1,
int  sample = -1 
)
void CL_Clip::setAttributes ( const CL_ClipAttributes attrs)
void CL_Clip::setCheckDuplicateNames ( int  val)
inline

Definition at line 64 of file CL_Clip.h.

void CL_Clip::setDefaults ( void  )
void CL_Clip::setIsUsingCurrentFrame ( bool  b)
inline

Definition at line 430 of file CL_Clip.h.

void CL_Clip::setSampleRate ( fpreal  rate)
inline
Examples:
CHOP/CHOP_Stair.C, and SOP/SOP_BouncyAgent.C.

Definition at line 87 of file CL_Clip.h.

int CL_Clip::setSlerp ( int  x_idx,
int  y_idx,
int  z_idx 
)
void CL_Clip::setSlerpCapacity ( int  capacity)
inline

Definition at line 125 of file CL_Clip.h.

void CL_Clip::setSlerpOrder ( UT_XformOrder::xyzOrder  o)
inline

Definition at line 152 of file CL_Clip.h.

void CL_Clip::setStart ( fpreal  start)
inline
Examples:
CHOP/CHOP_Stair.C.

Definition at line 73 of file CL_Clip.h.

void CL_Clip::setTrackCapacity ( int  capacity)
inline

Definition at line 165 of file CL_Clip.h.

void CL_Clip::setTrackLength ( int  length,
int  clear_extra = 0 
)
Examples:
CHOP/CHOP_Stair.C.
int CL_Clip::slerpBlend ( int  slerp_idx,
const fpreal xvalues,
const fpreal yvalues,
const fpreal zvalues,
fpreal  start,
int  len,
fpreal  base,
const CL_Track effect_track,
const UT_XformOrder order 
)
int CL_Clip::slerpBlend ( int  slerp_idx,
const fpreal xvalues,
const fpreal yvalues,
const fpreal zvalues,
fpreal  start,
int  len,
fpreal  base,
const CL_SubRange effect,
const UT_XformOrder order 
)
void CL_Clip::stashAll ( )
void CL_Clip::trackRenamed ( CL_Track track,
const UT_StringRef oldname 
)
void CL_Clip::trim ( const CL_Clip clip,
fpreal  leftpos,
fpreal  rightpos,
int  discard 
)
void CL_Clip::unsetIsConstant ( )
inline

Definition at line 441 of file CL_Clip.h.

void CL_Clip::updateAttributes ( const UT_StringSet keys,
const CL_ClipAttributes attrs 
)
int CL_Clip::validateSlerps ( )

Friends And Related Function Documentation

friend class ClearTrackNamesTask
friend

Definition at line 485 of file CL_Clip.h.


The documentation for this class was generated from the following file: