DD::Image::DeepSampleVector Class Reference

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 DeepSampleoperator[] (int idx) const
 get sample, in no particular order
 
DeepSampleoperator[] (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
 
DeepSampleContainer::iterator begin ()
 
DeepSampleContainer::iterator end ()
 
void erase (DeepSampleContainer::iterator begin, DeepSampleContainer::iterator end)
 

Detailed Description

Helper class to wrap a number of DeepSample objects, and presenting an interface that resembles a DeepPixel, for the convenience of templated algorithms.



©2021 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk