Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::DeepOutPixel Class Reference

#include <DeepPlane.h>

Public Member Functions

 DeepOutPixel (const size_t size)
 initialise the output pixel for filling with data of a known size.
 
 DeepOutPixel ()
 initialise the output pixel to a variable size
 
void clear ()
 
void reserve (size_t m)
 reserve m elements of data
 
void reserveMore (size_t m)
 reserve an additional m elements of data
 
void push_back (float f)
 
const float * data () const
 get a const pointer to the data
 
size_t size () const
 return the number of elements that have been used
 
DeepPixel getPixel (const ChannelMap &channels, DeepPixel::Ordering ordering) const
 

Detailed Description

Class used for construction of output pixels to be passed to DeepOutputPlane::addPixel()

Member Function Documentation

◆ clear()

void DD::Image::DeepOutPixel::clear ( )
inline

clear the output pixel of data. calls to push_back() will insert from the start again

◆ push_back()

void DD::Image::DeepOutPixel::push_back ( float  f)
inline

push the element /f/ to the end of the vector, or assign it to the next available position



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