HDK
|
#include <CL_TimeWarp.h>
Public Member Functions | |
CL_TimeWarp () | |
virtual | ~CL_TimeWarp () |
fpreal | linearWarp (fpreal sample, int warp_length) |
void | interpolateWarp () |
fpreal | warpSample (fpreal sample) |
bool | warpIsValid () |
int | warpLength () |
bool | setNumChannels (int num_channels, int src_channel_length, int ref_channel_length) |
bool | addChannel (const fpreal *input_src_channel, const fpreal *input_ref_channel) |
bool | addMotionChannels (const fpreal *src_tx_channel, const fpreal *src_ty_channel, const fpreal *src_tz_channel, const fpreal *ref_tx_channel, const fpreal *ref_ty_channel, const fpreal *ref_tz_channel) |
void | setRootTrnChannels (const fpreal *tx_channel, const fpreal *ty_channel, const fpreal *tz_channel, bool set_src) |
void | setRootRotChannels (const fpreal *rx_channel, const fpreal *ry_channel, const fpreal *rz_channel, bool set_src) |
void | processMotionChannels () |
fpreal * | srcChannel (int i) |
fpreal * | refChannel (int i) |
Protected Member Functions | |
void | getRootTrnVec (int i, UT_Vector3R &vec, bool get_src) |
void | getRootRotVec (int i, UT_Vector3R &vec, bool get_src) |
void | getRootRotMat (int i, UT_Matrix3R &mat, UT_Matrix3R &inv_mat, bool get_src) |
Protected Attributes | |
int | myCurrentNumChannels |
int | myNumChannels |
UT_Array< int > | myTrnChannels |
UT_UniquePtr< fpreal[]> | myRefChannels |
UT_UniquePtr< fpreal[]> | myRefRootTrnChannels [3] |
UT_UniquePtr< fpreal[]> | myRefRootRotChannels [3] |
int | myRefChannelLength |
UT_UniquePtr< fpreal[]> | mySrcChannels |
UT_UniquePtr< fpreal[]> | mySrcRootTrnChannels [3] |
UT_UniquePtr< fpreal[]> | mySrcRootRotChannels [3] |
int | mySrcChannelLength |
bool | myWarpIsValid |
int | myWarpLength |
UT_UniquePtr< fpreal[]> | myWarpMap |
Definition at line 27 of file CL_TimeWarp.h.
CL_TimeWarp::CL_TimeWarp | ( | ) |
|
virtual |
bool CL_TimeWarp::addMotionChannels | ( | const fpreal * | src_tx_channel, |
const fpreal * | src_ty_channel, | ||
const fpreal * | src_tz_channel, | ||
const fpreal * | ref_tx_channel, | ||
const fpreal * | ref_ty_channel, | ||
const fpreal * | ref_tz_channel | ||
) |
|
protected |
|
protected |
|
protected |
void CL_TimeWarp::interpolateWarp | ( | ) |
void CL_TimeWarp::processMotionChannels | ( | ) |
Definition at line 67 of file CL_TimeWarp.h.
bool CL_TimeWarp::setNumChannels | ( | int | num_channels, |
int | src_channel_length, | ||
int | ref_channel_length | ||
) |
void CL_TimeWarp::setRootRotChannels | ( | const fpreal * | rx_channel, |
const fpreal * | ry_channel, | ||
const fpreal * | rz_channel, | ||
bool | set_src | ||
) |
void CL_TimeWarp::setRootTrnChannels | ( | const fpreal * | tx_channel, |
const fpreal * | ty_channel, | ||
const fpreal * | tz_channel, | ||
bool | set_src | ||
) |
Definition at line 65 of file CL_TimeWarp.h.
|
inline |
Definition at line 36 of file CL_TimeWarp.h.
|
inline |
Definition at line 37 of file CL_TimeWarp.h.
|
protected |
Definition at line 80 of file CL_TimeWarp.h.
|
protected |
Definition at line 81 of file CL_TimeWarp.h.
|
protected |
Definition at line 88 of file CL_TimeWarp.h.
|
protected |
Definition at line 85 of file CL_TimeWarp.h.
|
protected |
Definition at line 87 of file CL_TimeWarp.h.
|
protected |
Definition at line 86 of file CL_TimeWarp.h.
|
protected |
Definition at line 93 of file CL_TimeWarp.h.
|
protected |
Definition at line 90 of file CL_TimeWarp.h.
|
protected |
Definition at line 92 of file CL_TimeWarp.h.
|
protected |
Definition at line 91 of file CL_TimeWarp.h.
Definition at line 83 of file CL_TimeWarp.h.
|
protected |
Definition at line 95 of file CL_TimeWarp.h.
|
protected |
Definition at line 96 of file CL_TimeWarp.h.
|
protected |
Definition at line 97 of file CL_TimeWarp.h.