VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtExampleShaderManager Class Reference

This is the implementation of the example model manager. More...

Public Member Functions

 DtExampleShaderManager (DtDe &de, osg::StateSet *ss)
 The Constructor takes in the de for the application also takes in a stateset to apply the new shaders to.
virtual ~DtExampleShaderManager ()
 DTOR.
virtual void changeColorOverride (int color, float deltaChange)
virtual void changeScale (int axis, float deltaChange)

Protected Attributes

DtDemyDe
osg::ref_ptr< osg::StateSet > myModelStateSet
osg::ref_ptr< osg::Uniform > myColorToAdd
osg::ref_ptr< osg::Uniform > myScale
osg::ref_ptr
< osgEarth::VirtualProgram > 
myVirtualProgram

Detailed Description

This is the implementation of the example model manager.

It handles the creation and resizing of Example model instances

Constructor & Destructor Documentation

makVrv::DtExampleShaderManager::DtExampleShaderManager ( DtDe de,
osg::StateSet *  ss 
)

The Constructor takes in the de for the application also takes in a stateset to apply the new shaders to.

virtual makVrv::DtExampleShaderManager::~DtExampleShaderManager ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtExampleShaderManager::changeColorOverride ( int  color,
float  deltaChange 
)
virtual
virtual void makVrv::DtExampleShaderManager::changeScale ( int  axis,
float  deltaChange 
)
virtual

Member Data Documentation

DtDe& makVrv::DtExampleShaderManager::myDe
protected
osg::ref_ptr<osg::StateSet> makVrv::DtExampleShaderManager::myModelStateSet
protected
osg::ref_ptr<osg::Uniform> makVrv::DtExampleShaderManager::myColorToAdd
protected
osg::ref_ptr<osg::Uniform> makVrv::DtExampleShaderManager::myScale
protected
osg::ref_ptr<osgEarth::VirtualProgram> makVrv::DtExampleShaderManager::myVirtualProgram
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)