osgUtil::Optimizer::TextureAtlasBuilder::Source Class Reference

Inheritance diagram for osgUtil::Optimizer::TextureAtlasBuilder::Source:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Source ()
 Source (const osg::Image *image)
 Source (const osg::Texture2D *texture)
bool suitableForAtlas (unsigned int maximumAtlasWidth, unsigned int maximumAtlasHeight, unsigned int margin)
osg::Matrix computeTextureMatrix () const

Public Attributes

unsigned int _x
unsigned int _y
Atlas_atlas
osg::ref_ptr< const
osg::Image
_image
osg::ref_ptr< const
osg::Texture2D
_texture

Protected Member Functions

virtual ~Source ()


Constructor & Destructor Documentation

osgUtil::Optimizer::TextureAtlasBuilder::Source::Source (  )  [inline]

osgUtil::Optimizer::TextureAtlasBuilder::Source::Source ( const osg::Image image  )  [inline]

osgUtil::Optimizer::TextureAtlasBuilder::Source::Source ( const osg::Texture2D texture  )  [inline]

virtual osgUtil::Optimizer::TextureAtlasBuilder::Source::~Source (  )  [inline, protected, virtual]


Member Function Documentation

bool osgUtil::Optimizer::TextureAtlasBuilder::Source::suitableForAtlas ( unsigned int  maximumAtlasWidth,
unsigned int  maximumAtlasHeight,
unsigned int  margin 
)

osg::Matrix osgUtil::Optimizer::TextureAtlasBuilder::Source::computeTextureMatrix (  )  const


Member Data Documentation

unsigned int osgUtil::Optimizer::TextureAtlasBuilder::Source::_x

unsigned int osgUtil::Optimizer::TextureAtlasBuilder::Source::_y

Atlas* osgUtil::Optimizer::TextureAtlasBuilder::Source::_atlas

osg::ref_ptr<const osg::Image> osgUtil::Optimizer::TextureAtlasBuilder::Source::_image

osg::ref_ptr<const osg::Texture2D> osgUtil::Optimizer::TextureAtlasBuilder::Source::_texture


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:51 2007 for the OpenSceneGraph by doxygen 1.5.3.