HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
timeSampleArray.h File Reference
+ Include dependency graph for timeSampleArray.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HdTimeSampleArray< TYPE, CAPACITY >
 

Functions

template<typename T >
PXR_NAMESPACE_OPEN_SCOPEHdResampleNeighbors (float alpha, const T &v0, const T &v1)
 Resample two neighboring samples. More...
 
GfQuatf HdResampleNeighbors (float alpha, const GfQuatf &v0, const GfQuatf &v1)
 Specialization for HdQuatf: spherical linear interpolation. More...
 
template<typename T >
VtArray< T > HdResampleNeighbors (float alpha, const VtArray< T > &v0, const VtArray< T > &v1)
 Specialization for VtArray: component-wise resampling. More...
 
template<typename T >
HdResampleRawTimeSamples (float u, size_t numSamples, const float *us, const T *vs)
 

Function Documentation

template<typename T >
PXR_NAMESPACE_OPEN_SCOPE T HdResampleNeighbors ( float  alpha,
const T &  v0,
const T &  v1 
)
inline

Resample two neighboring samples.

Definition at line 40 of file timeSampleArray.h.

GfQuatf HdResampleNeighbors ( float  alpha,
const GfQuatf v0,
const GfQuatf v1 
)
inline

Specialization for HdQuatf: spherical linear interpolation.

Definition at line 46 of file timeSampleArray.h.

template<typename T >
VtArray<T> HdResampleNeighbors ( float  alpha,
const VtArray< T > &  v0,
const VtArray< T > &  v1 
)
inline

Specialization for VtArray: component-wise resampling.

Definition at line 55 of file timeSampleArray.h.

template<typename T >
T HdResampleRawTimeSamples ( float  u,
size_t  numSamples,
const float *  us,
const T *  vs 
)

Resample a function described by an ordered array of samples, using a linear reconstruction filter evaluated at the given parametric position u. The function is considered constant outside the supplied sample range.

Definition at line 71 of file timeSampleArray.h.