Public Member Functions | |
size_t | getSampleCount () const |
const float & | getOrderedSample (int depthIdx, DD::Image::Channel channel) const |
get sample, in order (farthest is first) | |
const float & | getUnorderedSample (int depthIdx, DD::Image::Channel channel) const |
get sample, in no particular order | |
size_t | size () const |
const DeepSample & | operator[] (int idx) const |
get sample, in no particular order | |
DeepSample & | operator[] (int idx) |
get sample, in no particular order | |
void | resize (size_t newSize, const ChannelMap &channelMap) |
resize the vector and allocate new elements | |
void | push_back (const DeepSample &deepSample) |
append a sample |
Helper class to wrap a number of DeepSample objects, and presenting an interface that resembles a DeepPixel, for the convenience of templated algorithms.