OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
osg::Image::DataIterator Class Reference

#include <Image.h>

Collaboration diagram for osg::Image::DataIterator:
Collaboration graph
[legend]

Public Member Functions

 DataIterator (const Image *image)
 
 DataIterator (const DataIterator &ri)
 
 ~DataIterator ()
 
void operator++ ()
 
bool valid () const
 
const unsigned char * data () const
 
unsigned int size () const
 

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
 

Detailed Description

Convenience class for assisting the copying of image data when the image data isn't contiguous.

Definition at line 335 of file Image.h.

Constructor & Destructor Documentation

osg::Image::DataIterator::DataIterator ( const Image image)
osg::Image::DataIterator::DataIterator ( const DataIterator ri)
osg::Image::DataIterator::~DataIterator ( )
inline

Definition at line 340 of file Image.h.

Member Function Documentation

void osg::Image::DataIterator::assign ( )
protected
const unsigned char* osg::Image::DataIterator::data ( ) const
inline

data pointer of current block to copy.

Definition at line 349 of file Image.h.

void osg::Image::DataIterator::operator++ ( )

advance iterator to next block of data.

unsigned int osg::Image::DataIterator::size ( ) const
inline

Size of current block to copy.

Definition at line 352 of file Image.h.

bool osg::Image::DataIterator::valid ( ) const
inline

is iterator valid.

Definition at line 346 of file Image.h.

Member Data Documentation

const unsigned char* osg::Image::DataIterator::_currentPtr
protected

Definition at line 363 of file Image.h.

unsigned int osg::Image::DataIterator::_currentSize
protected

Definition at line 364 of file Image.h.

const osg::Image* osg::Image::DataIterator::_image
protected

Definition at line 359 of file Image.h.

int osg::Image::DataIterator::_imageNum
protected

Definition at line 361 of file Image.h.

unsigned int osg::Image::DataIterator::_mipmapNum
protected

Definition at line 362 of file Image.h.

int osg::Image::DataIterator::_rowNum
protected

Definition at line 360 of file Image.h.


The documentation for this class was generated from the following file: