Nuke binary plugins  14.0.7
DD::Image::Pixel Class Reference

Public Member Functions

 Pixel (const ChannelSetInit c)
 
 Pixel (ChannelMask c)
 
 Pixel (Channel c)
 
 Pixel (const Pixel &b)
 
float & operator[] (Channel z)
 
const float & operator[] (Channel z) const
 
float * array ()
 
InterestRatchetinterestRatchet ()
 
void setInterestRatchet (InterestRatchet *interestRatchet)
 
void copyInterestRatchet (const Pixel &from)
 
void set (float d)
 
void set (ChannelMask c, float d)
 
void erase ()
 
void erase (Channel z)
 
void erase (ChannelMask mask)
 
void replace (const Pixel &b, ChannelMask c)
 
void replace (const Pixel &b)
 
Pixeloperator= (float d)
 
Pixel operator* (float d) const
 
Pixeloperator*= (float d)
 
Pixel operator* (const Pixel &v) const
 
Pixeloperator*= (const Pixel &v)
 
Pixel operator/ (float d) const
 
Pixeloperator/= (float d)
 
Pixel operator/ (const Pixel &v) const
 
Pixeloperator/= (const Pixel &v)
 
Pixel operator+ (float d) const
 
Pixeloperator+= (float d)
 
Pixel operator+ (const Pixel &v) const
 
Pixeloperator+= (const Pixel &v)
 
Pixel operator- (float d) const
 
Pixeloperator-= (float d)
 
Pixel operator- (const Pixel &v) const
 
Pixeloperator-= (const Pixel &v)
 
void lerp (const Pixel &b, float t)
 Destructive linear interpolate between this Pixel b by t.
 
void over (const Pixel &A, float a, ChannelMask c)
 
void over (const Pixel &A, float a)
 
void under (const Pixel &A, float a, ChannelMask c)
 
void under (const Pixel &A, float a)
 
void setRGBAToBlack ()
 Convenience color functions.
 
void setRGBAToWhite ()
 
void setRGBToBlack ()
 
void setRGBToWhite ()
 
void setOpacityToFull ()
 
void setOpacityToNone ()
 
fdk::Vec4f & P ()
 
const fdk::Vec4f & P () const
 
float & x ()
 
float x () const
 
float & y ()
 
float y () const
 
float & z ()
 
float z () const
 
float & w ()
 
float w () const
 
float & Z ()
 
float Z () const
 
float & Zf ()
 
float Zf () const
 
float & Zb ()
 
float Zb () const
 
fdk::Vec3f & PL ()
 
const fdk::Vec3f & PL () const
 
fdk::Vec3f & PW ()
 
const fdk::Vec3f & PW () const
 
fdk::Vec3f & MB ()
 
const fdk::Vec3f & MB () const
 
fdk::Vec4f & UV ()
 
const fdk::Vec4f & UV () const
 
fdk::Vec3f & N ()
 
const fdk::Vec3f & N () const
 
fdk::Vec3f & VEL ()
 
const fdk::Vec3f & VEL () const
 
fdk::Vec4f & Cf ()
 
const fdk::Vec4f & Cf () const
 
fdk::Vec4f & rgba ()
 
const fdk::Vec4f & rgba () const
 
fdk::Vec3f & rgb ()
 
const fdk::Vec3f & rgb () const
 
float & r ()
 
float r () const
 
float & g ()
 
float g () const
 
float & b ()
 
float b () const
 
float & a ()
 
float a () const
 
float & red ()
 
float red () const
 
float & green ()
 
float green () const
 
float & blue ()
 
float blue () const
 
float & alpha ()
 
float alpha () const
 
float & coverage ()
 
float coverage () const
 
float & cutoutAlpha ()
 
float cutoutAlpha () const
 
float & cutoutDepth ()
 
float cutoutDepth () const
 
fdk::Vec3f & color ()
 
const fdk::Vec3f & color () const
 
float & opacity ()
 
float opacity () const
 
fdk::Vec3f & position ()
 
const fdk::Vec3f & position () const
 
fdk::Vec3f & velocity ()
 
const fdk::Vec3f & velocity () const
 
fdk::Vec3f & normal ()
 
const fdk::Vec3f & normal () const
 

Public Attributes

ChannelSet channels
 
float chan [Chan_Last+1]
 

Detailed Description

Holds a single pixel's worth of image data. Contains a ChannelSet to indicate active planes.



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