VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes | Private Member Functions
makVrv::TextureApplyAttribute Class Reference
Inheritance diagram for makVrv::TextureApplyAttribute:
Inheritance graph
[legend]

Public Member Functions

 TextureApplyAttribute ()
 
virtual ~TextureApplyAttribute ()
 
 TextureApplyAttribute (const TextureApplyAttribute &copy, const osg::CopyOp &copyOp=osg::CopyOp::SHALLOW_COPY)
 
virtual void addTexture (size_t index, DtGlSimpleTexture *texture)
 
virtual DtGlSimpleTexturetexture (size_t index)
 
virtual void removeTexture (size_t index, DtGlSimpleTexture *texture)
 
virtual void apply (osg::State &state) const
 
virtual int compare (const StateAttribute &sa) const
 
virtual void releaseGLObjects (osg::State *state) const
 

Protected Types

typedef std::map< size_t,
DtGlSimpleTexture * > 
MapTexUnitToTextures
 

Protected Attributes

MapTexUnitToTextures myMapTexUnitToTextures
 

Private Member Functions

TextureApplyAttributeoperator= (const TextureApplyAttribute &)
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::TextureApplyAttribute::TextureApplyAttribute ( )

constructor

virtual makVrv::TextureApplyAttribute::~TextureApplyAttribute ( )
virtual

destructor

makVrv::TextureApplyAttribute::TextureApplyAttribute ( const TextureApplyAttribute copy,
const osg::CopyOp &  copyOp = osg::CopyOp::SHALLOW_COPY 
)

copy constructor

Member Function Documentation

TextureApplyAttribute& makVrv::TextureApplyAttribute::operator= ( const TextureApplyAttribute )
private

Private assignment operator.

Note
Not implemented.
virtual void makVrv::TextureApplyAttribute::addTexture ( size_t  index,
DtGlSimpleTexture texture 
)
virtual

add a texture to manage

virtual DtGlSimpleTexture* makVrv::TextureApplyAttribute::texture ( size_t  index)
virtual

get the managed texture at the index

virtual void makVrv::TextureApplyAttribute::removeTexture ( size_t  index,
DtGlSimpleTexture texture 
)
virtual

remove the managed texture at the index

virtual void makVrv::TextureApplyAttribute::apply ( osg::State &  state) const
virtual

apply this attribute

virtual int makVrv::TextureApplyAttribute::compare ( const StateAttribute &  sa) const
virtual

comparison

virtual void makVrv::TextureApplyAttribute::releaseGLObjects ( osg::State *  state) const
virtual

clean up GL resources

Member Data Documentation

MapTexUnitToTextures makVrv::TextureApplyAttribute::myMapTexUnitToTextures
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)