HDK
|
#include <timeSampleArray.h>
Public Member Functions | |
HdIndexedTimeSampleArray () | |
HdIndexedTimeSampleArray (const HdIndexedTimeSampleArray &rhs) | |
HdIndexedTimeSampleArray & | operator= (const HdIndexedTimeSampleArray &rhs) |
void | Resize (unsigned int newSize) override |
Resize the internal buffers. More... | |
std::pair< TYPE, VtIntArray > | ResampleIndexed (float u) const |
bool | UnboxFrom (HdIndexedTimeSampleArray< VtValue, CAPACITY > const &box) |
Public Member Functions inherited from HdTimeSampleArray< TYPE, CAPACITY > | |
HdTimeSampleArray () | |
HdTimeSampleArray (const HdTimeSampleArray &rhs) | |
HdTimeSampleArray & | operator= (const HdTimeSampleArray &rhs) |
TYPE | Resample (float u) const |
bool | UnboxFrom (HdTimeSampleArray< VtValue, CAPACITY > const &box) |
Public Attributes | |
TfSmallVector< VtIntArray, CAPACITY > | indices |
Public Attributes inherited from HdTimeSampleArray< TYPE, CAPACITY > | |
size_t | count |
TfSmallVector< float, CAPACITY > | times |
TfSmallVector< TYPE, CAPACITY > | values |
An array of a value and its indices sampled over time, in struct-of-arrays layout.
Definition at line 234 of file timeSampleArray.h.
|
inline |
Definition at line 236 of file timeSampleArray.h.
|
inline |
Definition at line 240 of file timeSampleArray.h.
|
inline |
Definition at line 246 of file timeSampleArray.h.
|
inline |
Convience method for invoking HdResampleRawTimeSamples on this HdIndexedTimeSampleArray.
Definition at line 262 of file timeSampleArray.h.
|
inlineoverridevirtual |
Resize the internal buffers.
Reimplemented from HdTimeSampleArray< TYPE, CAPACITY >.
Definition at line 255 of file timeSampleArray.h.
|
inline |
Unbox an HdIndexedTimeSampleArray holding boxed VtValue<VtArray<T>> samples into an array holding VtArray<T> samples. If any of the values contain the wrong type, their data is discarded. The function returns true if all samples have the correct type.
Definition at line 271 of file timeSampleArray.h.
TfSmallVector<VtIntArray, CAPACITY> HdIndexedTimeSampleArray< TYPE, CAPACITY >::indices |
Definition at line 288 of file timeSampleArray.h.