Nuke binary plugins 15.1.4
 
Loading...
Searching...
No Matches
DD::Image::DeepSampleVector Class Reference

#include <DeepSample.h>

Public Member Functions

size_t getSampleCount () const
 get number of samples
 
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
 get number of samples
 
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 container 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)
 erase a given range of samples
 

Detailed Description

Helper class representing a container of deep sample, where the sample value is represented in the DeepSample type in no particular order. The class presents an interface that resembles a DeepPixel, for the convenience of templated algorithms.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com