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

Owns a DiGuy scenario for the application. More...

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

Public Member Functions

virtual ~DtDiGuyScenario ()
 DTOR.
diguyScenario & scenario ()
 Get the scenario.:
void clearScene ()
virtual osg::Node * characterRoot ()
 Get the OSG root node for the DI-Guy character geometry.
int get_use_guides ()
float get_guide_sync_gain ()
int get_use_instancing ()
const charmapEffect (const char *diguy_effect_name)
float getCharacterDrawDistance ()
std::string findCharacterName (DtElementID parentSceneObjectID)
bool evalScript (const std::string &script)
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtDiGuyScenarioinstance (DtDe &de)
 Static accessor.

Protected Member Functions

virtual void slot_windowDestroyed (DtWindow *window)
 Called when the window manager destroys a window.
virtual void slot_windowCreated (DtWindow *window)
 Called when the window manager creates a window.
virtual void slot_reloadShader ()
 Called when someone presses the reload shader button.
virtual void slot_preDraw ()
 Called before rendering the scene.
virtual void slot_postDraw ()
 Called after rendering the scene.
void updateScenario (double simTime)
void setComponentVisualizationMode (int mode)
 DtDiGuyScenario (DtDe &de)
void create_diguy_scenario ()
void reload_config_info ()

Protected Attributes

DtDemyDe
diguyScenario * myScenario
osg::ref_ptr< osg::Group > myCharacterRoot
double m_first_update_t
double m_previous_update_time
int m_use_guides
float m_guide_sync_gain
int m_use_instancing
float myCharacterDrawDistance

Detailed Description

Owns a DiGuy scenario for the application.

Constructor & Destructor Documentation

virtual makVrv::DtDiGuyScenario::~DtDiGuyScenario ( )
virtual

DTOR.

makVrv::DtDiGuyScenario::DtDiGuyScenario ( DtDe de)
protected

Member Function Documentation

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

Static accessor.

diguyScenario& makVrv::DtDiGuyScenario::scenario ( )

Get the scenario.:

void makVrv::DtDiGuyScenario::clearScene ( )
virtual osg::Node* makVrv::DtDiGuyScenario::characterRoot ( )
virtual

Get the OSG root node for the DI-Guy character geometry.

int makVrv::DtDiGuyScenario::get_use_guides ( )
inline
float makVrv::DtDiGuyScenario::get_guide_sync_gain ( )
inline
int makVrv::DtDiGuyScenario::get_use_instancing ( )
inline
const char* makVrv::DtDiGuyScenario::mapEffect ( const char diguy_effect_name)
float makVrv::DtDiGuyScenario::getCharacterDrawDistance ( )
inline
std::string makVrv::DtDiGuyScenario::findCharacterName ( DtElementID  parentSceneObjectID)
bool makVrv::DtDiGuyScenario::evalScript ( const std::string &  script)
virtual void makVrv::DtDiGuyScenario::slot_windowDestroyed ( DtWindow window)
protectedvirtual

Called when the window manager destroys a window.

virtual void makVrv::DtDiGuyScenario::slot_windowCreated ( DtWindow window)
protectedvirtual

Called when the window manager creates a window.

virtual void makVrv::DtDiGuyScenario::slot_reloadShader ( )
protectedvirtual

Called when someone presses the reload shader button.

virtual void makVrv::DtDiGuyScenario::slot_preDraw ( )
protectedvirtual

Called before rendering the scene.

virtual void makVrv::DtDiGuyScenario::slot_postDraw ( )
protectedvirtual

Called after rendering the scene.

void makVrv::DtDiGuyScenario::updateScenario ( double  simTime)
protected
void makVrv::DtDiGuyScenario::setComponentVisualizationMode ( int  mode)
protected
void makVrv::DtDiGuyScenario::create_diguy_scenario ( )
protected
void makVrv::DtDiGuyScenario::reload_config_info ( )
protected

Member Data Documentation

DtDe& makVrv::DtDiGuyScenario::myDe
protected
diguyScenario* makVrv::DtDiGuyScenario::myScenario
protected
osg::ref_ptr<osg::Group> makVrv::DtDiGuyScenario::myCharacterRoot
protected
double makVrv::DtDiGuyScenario::m_first_update_t
protected
double makVrv::DtDiGuyScenario::m_previous_update_time
protected
int makVrv::DtDiGuyScenario::m_use_guides
protected
float makVrv::DtDiGuyScenario::m_guide_sync_gain
protected
int makVrv::DtDiGuyScenario::m_use_instancing
protected
float makVrv::DtDiGuyScenario::myCharacterDrawDistance
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)