VR-Forces 5.0.1 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 Member Functions | Protected Attributes | Private Member Functions
makVrv::DtOsgStateComponent Class Referenceabstract

Base class for components that affect the state on a subset of the scene graph, injecting state, shaders, or other information.

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

Public Member Functions

 DtOsgStateComponent (DtDe &de)
 
virtual bool install (osg::StateSet *stateset)=0
 
virtual bool uninstall (osg::StateSet *stateset)=0
 

Protected Member Functions

virtual ~DtOsgStateComponent ()
 
virtual const std::string & loadShaderSource (const std::string &strFileName) const
 

Protected Attributes

DtDemyDe
 
DtOsgShaderFilesCachemyShaderFilesCache
 

Private Member Functions

 DtOsgStateComponent ()=delete
 
 DtOsgStateComponent (const DtOsgStateComponent &rhs)=delete
 
DtOsgStateComponentoperator= (const DtOsgStateComponent &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtOsgStateComponent::DtOsgStateComponent ( DtDe de)

CTOR.

makVrv::DtOsgStateComponent::DtOsgStateComponent ( )
privatedelete

not allowed

makVrv::DtOsgStateComponent::DtOsgStateComponent ( const DtOsgStateComponent rhs)
privatedelete

not allowed

virtual makVrv::DtOsgStateComponent::~DtOsgStateComponent ( )
protectedvirtual

DTOR.

Member Function Documentation

DtOsgStateComponent& makVrv::DtOsgStateComponent::operator= ( const DtOsgStateComponent rhs)
privatedelete

not allowed

virtual bool makVrv::DtOsgStateComponent::install ( osg::StateSet *  stateset)
pure virtual

Install this component on a state set.

Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.

virtual bool makVrv::DtOsgStateComponent::uninstall ( osg::StateSet *  stateset)
pure virtual

Uninstall this component from a state set.

Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.

virtual const std::string& makVrv::DtOsgStateComponent::loadShaderSource ( const std::string &  strFileName) const
protectedvirtual

Loads shader source code from a path.

Member Data Documentation

DtDe& makVrv::DtOsgStateComponent::myDe
protected
DtOsgShaderFilesCache& makVrv::DtOsgStateComponent::myShaderFilesCache
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)