#include <image.h>
The ImageAccessorBase class gives you very fast access to pixels when the data type and channel count of an image are known at compile time (and this is very often the case.)
Public Member Functions | |
ImageAccessorBase (Image *parent) | |
u_int | Width () const |
u_int | Height () const |
u_int | ChannelCount () const |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
Set value for a specified texel. More... | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
Get the value at a given coordinate. More... | |
void | SetColorAt (u_int X, u_int Y, const Color &cColor) |
Set value for a specified texel. More... | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void * | AddrAt (u_int X, u_int Y, u_int Ch) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
float | ValueAt (u_int X, u_int Y, u_int Ch) const |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetValueAt (u_int X, u_int Y, u_int Ch, float fVal) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
template<> | |
void | SetColorAt (u_int X, u_int Y, const Color &c) |
|
inline |
Set value for a specified texel.
For integer maps 1 should be mapped for the maximum value (255 for 8 bit images and 65535 for 16 bit images)
Set value for a specified texel.
For integer maps 1 should be mapped for the maximum value (255 for 8 bit images and 65535 for 16 bit images)