#include <imagebuf.h>
|
| int | x () const |
| | Retrieve the current x location of the iterator. More...
|
| |
| int | y () const |
| | Retrieve the current y location of the iterator. More...
|
| |
| int | z () const |
| | Retrieve the current z location of the iterator. More...
|
| |
| 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 OIIO_API | pos (int x_, int y_, int z_=0) |
| |
| void | operator++ () |
| |
| void | operator++ (int) |
| | Increment to the next pixel in the region. More...
|
| |
| ROI | range () const |
| | Return the iteration range. More...
|
| |
| void OIIO_API | rerange (int xbegin, int xend, int ybegin, int yend, int zbegin, int zend, WrapMode wrap=WrapDefault) |
| |
| const void * | rawptr () const |
| |
| float | deep_value (int c, int s) const |
| | Retrieve the deep data value of sample s of channel c. More...
|
| |
| uint32_t | deep_value_uint (int c, int s) const |
| |
| bool | localpixels () const |
| |
| bool | has_error () const |
| |
| void | clear_error () |
| |
|
| OIIO_API | IteratorBase (const ImageBuf &ib, WrapMode wrap, bool write=false) |
| |
| OIIO_API | IteratorBase (const ImageBuf &ib, int x, int y, int z, WrapMode wrap, bool write=false) |
| |
| OIIO_API | IteratorBase (const ImageBuf &ib, const ROI &roi, WrapMode wrap, bool write=false) |
| | Construct valid iteration region from ImageBuf and ROI. More...
|
| |
| OIIO_API | IteratorBase (const ImageBuf &ib, int xbegin, int xend, int ybegin, int yend, int zbegin, int zend, WrapMode wrap, bool write=false) |
| |
| OIIO_API | IteratorBase (const IteratorBase &i) |
| | Copy constructor. More...
|
| |
| OIIO_API const IteratorBase & | operator= (const IteratorBase &i) |
| | Assign one IteratorBase to another. More...
|
| |
| | ~IteratorBase () |
| |
| void OIIO_API | init_ib (WrapMode wrap, bool write) |
| |
| void OIIO_API | range_is_image () |
| |
| void | pos_xincr () |
| |
| void OIIO_API | pos_xincr_local_past_end () |
| |
| void OIIO_API | pos_done () |
| |
| void OIIO_API | release_tile () |
| |
Base class for Iterator and ConstIterator – this contains all the common functionality.
Definition at line 1196 of file imagebuf.h.
Construct valid iteration region from ImageBuf and ROI.
Construct from an ImageBuf and designated region – iterate over region, starting with the upper left pixel.
| ImageBuf::IteratorBase::~IteratorBase |
( |
| ) |
|
|
inlineprotected |
| void ImageBuf::IteratorBase::clear_error |
( |
| ) |
|
|
inline |
| int ImageBuf::IteratorBase::deep_samples |
( |
| ) |
const |
|
inline |
Retrieve the number of deep data samples at this pixel.
Definition at line 1270 of file imagebuf.h.
| float ImageBuf::IteratorBase::deep_value |
( |
int |
c, |
|
|
int |
s |
|
) |
| const |
|
inline |
Retrieve the deep data value of sample s of channel c.
Definition at line 1324 of file imagebuf.h.
| uint32_t ImageBuf::IteratorBase::deep_value_uint |
( |
int |
c, |
|
|
int |
s |
|
) |
| const |
|
inline |
| bool ImageBuf::IteratorBase::done |
( |
| ) |
const |
|
inline |
Are we finished iterating over the region?
Definition at line 1259 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 1248 of file imagebuf.h.
| bool ImageBuf::IteratorBase::exists |
( |
| ) |
const |
|
inline |
Does the current location exist within the ImageBuf's data window?
Definition at line 1256 of file imagebuf.h.
| bool ImageBuf::IteratorBase::has_error |
( |
void |
| ) |
const |
|
inline |
| bool ImageBuf::IteratorBase::localpixels |
( |
| ) |
const |
|
inline |
| void ImageBuf::IteratorBase::operator++ |
( |
| ) |
|
|
inline |
Increment to the next pixel in the region.
Definition at line 1281 of file imagebuf.h.
| void ImageBuf::IteratorBase::operator++ |
( |
int |
| ) |
|
|
inline |
Increment to the next pixel in the region.
Definition at line 1305 of file imagebuf.h.
Explicitly point the iterator. This results in an invalid iterator if outside the previously-designated region.
| void ImageBuf::IteratorBase::pos_xincr |
( |
| ) |
|
|
inlineprotected |
| void OIIO_API ImageBuf::IteratorBase::pos_xincr_local_past_end |
( |
| ) |
|
|
protected |
| ROI ImageBuf::IteratorBase::range |
( |
| ) |
const |
|
inline |
Return the iteration range.
Definition at line 1308 of file imagebuf.h.
| const void* ImageBuf::IteratorBase::rawptr |
( |
| ) |
const |
|
inline |
Reset the iteration range for this iterator and reposition to the beginning of the range, but keep referring to the same image.
| bool ImageBuf::IteratorBase::valid |
( |
| ) |
const |
|
inline |
Is the current location within the designated iteration range?
Definition at line 1235 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 1239 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 1228 of file imagebuf.h.
| int ImageBuf::IteratorBase::y |
( |
| ) |
const |
|
inline |
Retrieve the current y location of the iterator.
Definition at line 1230 of file imagebuf.h.
| int ImageBuf::IteratorBase::z |
( |
| ) |
const |
|
inline |
Retrieve the current z location of the iterator.
Definition at line 1232 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 |
| bool ImageBuf::IteratorBase::m_readerror = false |
|
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: