OpenSceneGraph 2.8.3

osgDB::ImageOptions Class Reference

Inheritance diagram for osgDB::ImageOptions:

List of all members.

Classes

struct  PixelWindow
 PixelWindow stores the window (in exact pixels) from the overall imagery from which to extract the osg::Image. More...
struct  RatioWindow
 RatioWindow stores the window (as ratios of 0.0 to 1.0) from the overall imagery from which to extract the osg::Image. More...
struct  TexCoordRange
 Used as UserData attached to generated osg::Image's. More...

Public Types

enum  ImageWindowMode { ALL_IMAGE, RATIO_WINDOW, PIXEL_WINDOW }
enum  ImageSamplingMode { NEAREST, LINEAR, CUBIC }

Public Member Functions

 ImageOptions ()
 ImageOptions (const std::string &str)
 ImageOptions (const ImageOptions &options, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgDB, ImageOptions)
void init ()

Public Attributes

ImageSamplingMode _sourceImageSamplingMode
ImageWindowMode _sourceImageWindowMode
RatioWindow _sourceRatioWindow
PixelWindow _sourcePixelWindow
osg::ref_ptr< osg::Image_destinationImage
ImageWindowMode _destinationImageWindowMode
RatioWindow _destinationRatioWindow
PixelWindow _destinationPixelWindow
GLenum _destinationDataType
GLenum _destinationPixelFormat

Member Enumeration Documentation

Enumerator:
NEAREST 
LINEAR 
CUBIC 
Enumerator:
ALL_IMAGE 
RATIO_WINDOW 
PIXEL_WINDOW 

Constructor & Destructor Documentation

osgDB::ImageOptions::ImageOptions ( )
osgDB::ImageOptions::ImageOptions ( const std::string &  str)
osgDB::ImageOptions::ImageOptions ( const ImageOptions options,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]

Member Function Documentation

void osgDB::ImageOptions::init ( )
osgDB::ImageOptions::META_Object ( osgDB  ,
ImageOptions   
)

Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:25 for the OpenSceneGraph by doxygen 1.7.3.