![]() |
OpenSceneGraph
|
Convenience class for assisting the copying of image data when the image data isn't contiguous. More...
Public Member Functions | |
| DataIterator (const Image *image) | |
| DataIterator (const DataIterator &ri) | |
| ~DataIterator () | |
| void | operator++ () |
| advance iterator to next block of data. More... | |
| bool | valid () const |
| is iterator valid. More... | |
| const unsigned char * | data () const |
| data pointer of current block to copy. More... | |
| unsigned int | size () const |
| Size of current block to copy. More... | |
Protected Member Functions | |
| void | assign () |
Protected Attributes | |
| const osg::Image * | _image |
| int | _rowNum |
| int | _imageNum |
| unsigned int | _mipmapNum |
| const unsigned char * | _currentPtr |
| unsigned int | _currentSize |
Convenience class for assisting the copying of image data when the image data isn't contiguous.
| osg::Image::DataIterator::DataIterator | ( | const Image * | image | ) |
| osg::Image::DataIterator::DataIterator | ( | const DataIterator & | ri | ) |
|
inline |
|
protected |
|
inline |
data pointer of current block to copy.
| void osg::Image::DataIterator::operator++ | ( | ) |
advance iterator to next block of data.
|
inline |
Size of current block to copy.
|
inline |
is iterator valid.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13