ImageUtils File Reference

#include <osg/Export>
#include <osg/Image>

Namespaces

namespace  osg

Defines

#define OSG_IMAGEUTILS   1

Functions

template<typename T, class O>
void osg::_readRow (unsigned int num, GLenum pixelFormat, const T *data, float scale, O &operation)
template<class O>
void osg::readRow (unsigned int num, GLenum pixelFormat, GLenum dataType, const unsigned char *data, O &operation)
template<class O>
void osg::readImage (const osg::Image *image, O &operation)
template<typename T, class M>
void osg::_modifyRow (unsigned int num, GLenum pixelFormat, T *data, float scale, const M &operation)
template<class M>
void osg::modifyRow (unsigned int num, GLenum pixelFormat, GLenum dataType, unsigned char *data, const M &operation)
template<class M>
void osg::modifyImage (osg::Image *image, const M &operation)
OSG_EXPORT bool osg::computeMinMax (const osg::Image *image, osg::Vec4 &min, osg::Vec4 &max)
OSG_EXPORT bool osg::offsetAndScaleImage (osg::Image *image, const osg::Vec4 &offset, const osg::Vec4 &scale)
OSG_EXPORT bool osg::copyImage (const osg::Image *srcImage, int src_s, int src_t, int src_r, int width, int height, int depth, osg::Image *destImage, int dest_s, int dest_t, int dest_r, bool doRescale=false)
OSG_EXPORT bool osg::clearImageToColor (osg::Image *image, const osg::Vec4 &colour)

Define Documentation

#define OSG_IMAGEUTILS   1


Generated on Fri Mar 19 19:52:47 2010 for openscenegraph by  doxygen 1.5.6