VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
makVrv::DtIndirectDefaultTexturesContainer Class Reference

loads and contains various core default textures used by the indirect system

Inheritance diagram for makVrv::DtIndirectDefaultTexturesContainer:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtIndirectDefaultTexturesContainer ()
 
 DtIndirectDefaultTexturesContainer ()=delete
 
DtIndirectDefaultTexturesContaineroperator= (const DtIndirectDefaultTexturesContainer &rhs)=delete
 
 DtIndirectDefaultTexturesContainer (const DtIndirectDefaultTexturesContainer &rhs)=delete
 
virtual void loadDefaultTextures (void)
 
virtual osg::ref_ptr
< osg::Texture > 
defaultTexture (void)
 
virtual osg::ref_ptr
< osg::Texture > 
outOfMemoryTexture (void)
 
virtual osg::ref_ptr
< osg::Texture > 
lightsDebugDigitsTexture (void)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtIndirectDefaultTexturesContainer
instance (DtDe &de)
 

Protected Member Functions

 DtIndirectDefaultTexturesContainer (DtDe &de)
 
virtual void loadTheDefaultTexture (const std::string &filename)
 
virtual void loadTheOutOfMemoryTexture (const std::string &filename)
 
virtual void loadLightsDigitsDebugTexture (const std::string &filename)
 

Static Protected Member Functions

static void registerInstance (DtIndirectDefaultTexturesContainer *manager, DtDe &de)
 
static
DtIndirectDefaultTexturesContainer
findInstance (DtDe &de)
 

Protected Attributes

DtDemyDe
 
osg::ref_ptr< osg::Texture > myDefaultTexture
 
osg::ref_ptr< osg::Texture > myOutOfMemoryTexture
 
osg::ref_ptr< osg::Texture > myLightsDigitsDebugTexture
 

Static Protected Attributes

static const std::string theClassName
 

Constructor & Destructor Documentation

virtual makVrv::DtIndirectDefaultTexturesContainer::~DtIndirectDefaultTexturesContainer ( )
virtual

destructor

makVrv::DtIndirectDefaultTexturesContainer::DtIndirectDefaultTexturesContainer ( )
delete

not allowed

makVrv::DtIndirectDefaultTexturesContainer::DtIndirectDefaultTexturesContainer ( const DtIndirectDefaultTexturesContainer rhs)
delete

not allowed

makVrv::DtIndirectDefaultTexturesContainer::DtIndirectDefaultTexturesContainer ( DtDe de)
protected

cannot create directly

Member Function Documentation

static DtIndirectDefaultTexturesContainer& makVrv::DtIndirectDefaultTexturesContainer::instance ( DtDe de)
static

Access the singleton instance.

DtIndirectDefaultTexturesContainer& makVrv::DtIndirectDefaultTexturesContainer::operator= ( const DtIndirectDefaultTexturesContainer rhs)
delete

not allowed

virtual void makVrv::DtIndirectDefaultTexturesContainer::loadDefaultTextures ( void  )
virtual

call once. called from vrvOsg.cxx

virtual osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::defaultTexture ( void  )
virtual

access the default texture

virtual osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::outOfMemoryTexture ( void  )
virtual

access the out of memory texture

virtual osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::lightsDebugDigitsTexture ( void  )
virtual

access the lights debug digit texture

static void makVrv::DtIndirectDefaultTexturesContainer::registerInstance ( DtIndirectDefaultTexturesContainer manager,
DtDe de 
)
staticprotected

register the manager

static DtIndirectDefaultTexturesContainer* makVrv::DtIndirectDefaultTexturesContainer::findInstance ( DtDe de)
staticprotected

register if the manager is registered

virtual void makVrv::DtIndirectDefaultTexturesContainer::loadTheDefaultTexture ( const std::string &  filename)
protectedvirtual

create a default texture for indirect to use when there is not a diffuse texture on a stateset

virtual void makVrv::DtIndirectDefaultTexturesContainer::loadTheOutOfMemoryTexture ( const std::string &  filename)
protectedvirtual

create a default texture for indirect to use instead when there is not enough memory to create the requested texture

virtual void makVrv::DtIndirectDefaultTexturesContainer::loadLightsDigitsDebugTexture ( const std::string &  filename)
protectedvirtual

the debug texture for the lights (the one shown via f4/lights/art dev

Member Data Documentation

DtDe& makVrv::DtIndirectDefaultTexturesContainer::myDe
protected
osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::myDefaultTexture
protected
osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::myOutOfMemoryTexture
protected
osg::ref_ptr<osg::Texture> makVrv::DtIndirectDefaultTexturesContainer::myLightsDigitsDebugTexture
protected

Texture for rendering the debug labels. Contains all 10 digits so that any number can be shown using the debug labels. The debug labels show the light point type for now.

const std::string makVrv::DtIndirectDefaultTexturesContainer::theClassName
staticprotected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)