osgSim::ImpostorSpriteManager Class Reference

Helper class for managing the reuse of ImpostorSprite resources. More...

Inheritance diagram for osgSim::ImpostorSpriteManager:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImpostorSpriteManager ()
bool empty () const
ImpostorSpritefirst ()
ImpostorSpritelast ()
void push_back (ImpostorSprite *is)
void remove (ImpostorSprite *is)
ImpostorSpritecreateOrReuseImpostorSprite (int s, int t, int frameNumber)
osg::StateSetcreateOrReuseStateSet ()
void reset ()

Protected Types

typedef std::vector
< osg::ref_ptr
< osg::StateSet > > 
StateSetList

Protected Member Functions

 ~ImpostorSpriteManager ()

Protected Attributes

osg::ref_ptr
< osg::TexEnv
_texenv
osg::ref_ptr
< osg::AlphaFunc
_alphafunc
ImpostorSprite_first
ImpostorSprite_last
StateSetList _stateSetList
unsigned int _reuseStateSetIndex


Detailed Description

Helper class for managing the reuse of ImpostorSprite resources.


Member Typedef Documentation

typedef std::vector< osg::ref_ptr<osg::StateSet> > osgSim::ImpostorSpriteManager::StateSetList [protected]


Constructor & Destructor Documentation

osgSim::ImpostorSpriteManager::ImpostorSpriteManager (  ) 

osgSim::ImpostorSpriteManager::~ImpostorSpriteManager (  )  [protected]


Member Function Documentation

bool osgSim::ImpostorSpriteManager::empty (  )  const [inline]

ImpostorSprite* osgSim::ImpostorSpriteManager::first (  )  [inline]

ImpostorSprite* osgSim::ImpostorSpriteManager::last (  )  [inline]

void osgSim::ImpostorSpriteManager::push_back ( ImpostorSprite is  ) 

void osgSim::ImpostorSpriteManager::remove ( ImpostorSprite is  ) 

ImpostorSprite* osgSim::ImpostorSpriteManager::createOrReuseImpostorSprite ( int  s,
int  t,
int  frameNumber 
)

osg::StateSet* osgSim::ImpostorSpriteManager::createOrReuseStateSet (  ) 

void osgSim::ImpostorSpriteManager::reset (  ) 


Member Data Documentation

osg::ref_ptr<osg::TexEnv> osgSim::ImpostorSpriteManager::_texenv [protected]

osg::ref_ptr<osg::AlphaFunc> osgSim::ImpostorSpriteManager::_alphafunc [protected]

ImpostorSprite* osgSim::ImpostorSpriteManager::_first [protected]

ImpostorSprite* osgSim::ImpostorSpriteManager::_last [protected]

StateSetList osgSim::ImpostorSpriteManager::_stateSetList [protected]

unsigned int osgSim::ImpostorSpriteManager::_reuseStateSetIndex [protected]


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