#include <imagebuf.h>
|
| IteratorBase (const ImageBuf &ib, WrapMode wrap) |
|
| IteratorBase (const ImageBuf &ib, const ROI &roi, WrapMode wrap) |
| Construct valid iteration region from ImageBuf and ROI. More...
|
|
| IteratorBase (const ImageBuf &ib, int xbegin, int xend, int ybegin, int yend, int zbegin, int zend, WrapMode wrap) |
|
| IteratorBase (const IteratorBase &i) |
|
| ~IteratorBase () |
|
const IteratorBase & | assign_base (const IteratorBase &i) |
|
int | x () const |
|
int | y () const |
|
int | z () const |
|
bool | valid () const |
| Is the current location within the designated iteration range? More...
|
|
bool | valid (int x_, int y_, int z_=0) const |
|
bool | exists (int x_, int y_, int z_=0) const |
|
bool | exists () const |
|
bool | done () const |
| Are we finished iterating over the region? More...
|
|
int | deep_samples () const |
| Retrieve the number of deep data samples at this pixel. More...
|
|
WrapMode | wrap () const |
| Return the wrap mode. More...
|
|
void | pos (int x_, int y_, int z_=0) |
|
OIIO_FORCEINLINE void | operator++ () |
|
void | operator++ (int) |
|
ROI | range () const |
| Return the iteration range. More...
|
|
void | rerange (int xbegin, int xend, int ybegin, int yend, int zbegin, int zend, WrapMode wrap=WrapDefault) |
|
Definition at line 1188 of file imagebuf.h.
Construct from an ImageBuf and designated region – iterate over region, starting with the upper left pixel.
Definition at line 1216 of file imagebuf.h.
ImageBuf::IteratorBase::IteratorBase |
( |
const IteratorBase & |
i | ) |
|
|
inline |
ImageBuf::IteratorBase::~IteratorBase |
( |
| ) |
|
|
inline |
int ImageBuf::IteratorBase::deep_samples |
( |
| ) |
const |
|
inline |
Retrieve the number of deep data samples at this pixel.
Definition at line 1314 of file imagebuf.h.
bool ImageBuf::IteratorBase::done |
( |
| ) |
const |
|
inline |
Are we finished iterating over the region?
Definition at line 1303 of file imagebuf.h.
bool ImageBuf::IteratorBase::exists |
( |
int |
x_, |
|
|
int |
y_, |
|
|
int |
z_ = 0 |
|
) |
| const |
|
inline |
Is the location (x,y[,z]) within the region of the ImageBuf that contains pixel values (sometimes called the "data window")?
Definition at line 1291 of file imagebuf.h.
bool ImageBuf::IteratorBase::exists |
( |
| ) |
const |
|
inline |
Does the current location exist within the ImageBuf's data window?
Definition at line 1299 of file imagebuf.h.
void ImageBuf::IteratorBase::make_writable |
( |
| ) |
|
|
inlineprotected |
Increment to the next pixel in the region.
Definition at line 1368 of file imagebuf.h.
void ImageBuf::IteratorBase::operator++ |
( |
int |
| ) |
|
|
inline |
Increment to the next pixel in the region.
Definition at line 1393 of file imagebuf.h.
Explicitly point the iterator. This results in an invalid iterator if outside the previously-designated region.
Definition at line 1321 of file imagebuf.h.
void ImageBuf::IteratorBase::pos_done |
( |
| ) |
|
|
inlineprotected |
ROI ImageBuf::IteratorBase::range |
( |
| ) |
const |
|
inline |
Return the iteration range.
Definition at line 1396 of file imagebuf.h.
void ImageBuf::IteratorBase::range_is_image |
( |
| ) |
|
|
inlineprotected |
Reset the iteration range for this iterator and reposition to the beginning of the range, but keep referring to the same image.
Definition at line 1405 of file imagebuf.h.
bool ImageBuf::IteratorBase::valid |
( |
| ) |
const |
|
inline |
Is the current location within the designated iteration range?
Definition at line 1278 of file imagebuf.h.
bool ImageBuf::IteratorBase::valid |
( |
int |
x_, |
|
|
int |
y_, |
|
|
int |
z_ = 0 |
|
) |
| const |
|
inline |
Is the location (x,y[,z]) within the designated iteration range?
Definition at line 1282 of file imagebuf.h.
WrapMode ImageBuf::IteratorBase::wrap |
( |
| ) |
const |
|
inline |
int ImageBuf::IteratorBase::x |
( |
| ) |
const |
|
inline |
Retrieve the current x location of the iterator.
Definition at line 1269 of file imagebuf.h.
int ImageBuf::IteratorBase::y |
( |
| ) |
const |
|
inline |
Retrieve the current y location of the iterator.
Definition at line 1272 of file imagebuf.h.
int ImageBuf::IteratorBase::z |
( |
| ) |
const |
|
inline |
Retrieve the current z location of the iterator.
Definition at line 1275 of file imagebuf.h.
friend class ImageBufImpl |
|
friend |
bool ImageBuf::IteratorBase::m_deep = false |
|
protected |
bool ImageBuf::IteratorBase::m_exists = false |
|
protected |
const ImageBuf* ImageBuf::IteratorBase::m_ib = nullptr |
|
protected |
int ImageBuf::IteratorBase::m_img_xbegin |
|
protected |
int ImageBuf::IteratorBase::m_img_xend |
|
protected |
int ImageBuf::IteratorBase::m_img_ybegin |
|
protected |
int ImageBuf::IteratorBase::m_img_yend |
|
protected |
int ImageBuf::IteratorBase::m_img_zbegin |
|
protected |
int ImageBuf::IteratorBase::m_img_zend |
|
protected |
bool ImageBuf::IteratorBase::m_localpixels = false |
|
protected |
int ImageBuf::IteratorBase::m_nchannels |
|
protected |
stride_t ImageBuf::IteratorBase::m_pixel_stride |
|
protected |
char* ImageBuf::IteratorBase::m_proxydata = nullptr |
|
protected |
int ImageBuf::IteratorBase::m_rng_xbegin |
|
protected |
int ImageBuf::IteratorBase::m_rng_xend |
|
protected |
int ImageBuf::IteratorBase::m_rng_ybegin |
|
protected |
int ImageBuf::IteratorBase::m_rng_yend |
|
protected |
int ImageBuf::IteratorBase::m_rng_zbegin |
|
protected |
int ImageBuf::IteratorBase::m_rng_zend |
|
protected |
pvt::ImageCacheTile* ImageBuf::IteratorBase::m_tile = nullptr |
|
protected |
int ImageBuf::IteratorBase::m_tilexbegin |
|
protected |
int ImageBuf::IteratorBase::m_tilexend |
|
protected |
int ImageBuf::IteratorBase::m_tileybegin |
|
protected |
int ImageBuf::IteratorBase::m_tilezbegin |
|
protected |
bool ImageBuf::IteratorBase::m_valid = false |
|
protected |
int ImageBuf::IteratorBase::m_x |
|
protected |
int ImageBuf::IteratorBase::m_y |
|
protected |
int ImageBuf::IteratorBase::m_z |
|
protected |
The documentation for this class was generated from the following file: