![]() |
VR-Forces 4.10 Class Documentation
|
Owns a DiGuy scenario for the application. More...

Public Types | |
| typedef std::set< DtString > | StringSet |
| typedef std::vector< StringSet > | StringSetVec |
| typedef std::vector < DtDiguyLightConfig > | LightConfigDataArray |
Public Member Functions | |
| DtDiGuyScenario (const DtDiGuyScenario &rhs)=delete | |
| Copy CTOR ( Deleted - non-copyable ). More... | |
| DtDiGuyScenario & | operator= (const DtDiGuyScenario &rhs)=delete |
| Assignment operator ( Deleted - non-copyable ). More... | |
| virtual | ~DtDiGuyScenario () |
| DTOR. More... | |
| void | initializeVisualComponent () |
| diguyScenario & | scenario () |
| Get the scenario.: More... | |
| virtual void | clearScene () |
| virtual osg::Node * | characterRoot () |
| Get the OSG root node for the DI-Guy character geometry. More... | |
| virtual bool | useGuides () const |
| should diguy guides be used to smooth character movement More... | |
| virtual float | guideSyncGain () const |
| how aggressive the guides should be to get from diguy motion data to dead reckoned data More... | |
| virtual bool | useInstancing () const |
| should instancing be used More... | |
| virtual bool | useTextureVariations () const |
| should texture variation system be used More... | |
| virtual bool | useMultithreadedCull () const |
| should cull run in parallel More... | |
| virtual bool | useOctree () const |
| should we use an octtree for culling More... | |
| std::string | findCharacterName (DtElementID parentSceneObjectID) |
| Finds the character name, given the parent scene object ID. More... | |
| int | getSupportsWeightVariations (DtElementID parentSceneObjectID) |
| Returns if character supports weight variations (skinny to fat) More... | |
| bool | evalScript (const std::string &script) |
| Evaluates a script using the diguyScenario's interpreter. More... | |
| virtual bool | isGeocentric () const |
| cached value so that every character doesn't need to ask More... | |
| virtual DtDe & | getDe () |
| returns de More... | |
| virtual void | cullAndUpdate (const Frustum_64 &frustum, const DtDiGuyCullData &cullData) |
| virtual DtDiGuyInstanceDrawable * | instancedDrawable () |
| returns instance drawable singleton More... | |
| virtual void | updateStats (int mask, double duration) |
| only called by octree cull code More... | |
| virtual DtLightPointNode * | lightPointNode () |
| returns the light point node for the characters More... | |
| virtual const LightConfigDataArray & | lightDataArray () |
| returns the config data for lights. More... | |
| virtual void | drawDebugLines (osg::RenderInfo &renderInfo, const osg::Vec3d &eyePoint, DtOsgGizmoRenderer *renderer) |
| render gizmo helper function for drawing diguy skeletons and other visuals. More... | |
Octree methods. | |
| virtual void | createOctreeNode (DtDiGuyOsgRootNode *pChar) |
| octree functions for faster cull traversals More... | |
| virtual void | destroyOctreeNode (DtDiGuyOsgRootNode *pChar) |
| remove associated octree node More... | |
| virtual void | characterOctreeNodeUpdated (DtDiGuyOsgRootNode *pChar) |
| updates the octree with this character root node More... | |
| virtual Octree_64 * | octree () |
| returns octree More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtDiGuyScenario & | instance (DtDe &de, bool initVisualComponent=true) |
| static DtDiGuyScenario * | lightweight_instance (const std::string &dataPath) |
| static osg::Group * | getDiGuyAttachGroup () |
| Accessor for getting to the diguy attach group without needing to include/link diguy libraries. More... | |
| static osg::Group * | getDiGuyInstancingAttachGroup () |
| Accessor for getting to the diguy instancing attach group without needing to include/link diguy libraries. More... | |
Static Public Attributes | |
| static int | theStatNumCharDrawn |
| static tbb::atomic< int > | theStatNumCharInstanced |
Protected Member Functions | |
| DtDiGuyScenario (DtDe &de) | |
| DtDiGuyScenario (const std::string &dataPth) | |
| diguyCharacter * | getCharacter (DtElementID parentSceneObjectID) |
| void | updateScenario (double simTime) |
| void | setComponentVisualizationMode (int mode) |
| void | createDiGuyScenario () |
| void | reloadConfigInfo () |
Slots for DtDe renderer and DtDeSharedStateSignaler signals. | |
| virtual void | slot_terrainLoaded (const DtUnicode &terrain, bool reload) |
| Called when the window manager destroys a window. More... | |
| virtual void | slot_windowCreated (DtWindow *window) |
| Called when the window manager creates a window. More... | |
| virtual void | slot_windowDestroyed (DtWindow *window) |
| Called when the window manager destroys a window. More... | |
| virtual void | slot_ProfilingChanged (bool active) |
| Called when f3 stats change. More... | |
| virtual void | slot_reloadShader () |
| Called when someone presses the reload shader button. More... | |
| virtual void | slot_displayConfigurationRealized () |
| Called when DtDe realizes this display engine's display configuration. More... | |
| virtual void | slot_preDraw () |
| Called before rendering the scene. More... | |
| virtual void | slot_postDraw () |
| Called after rendering the scene. More... | |
| virtual void | slot_postUpdate () |
| Called after updating the scene. More... | |
| virtual void | syncToSharedDiGuySettings () |
| pass settings from vrv shared diguy settings down to diguy scenario More... | |
| virtual void | slot_diGuyInstancingEnabledChanged (bool enabled) |
| Receives notification that the user changed the instancing enabled checkbox. More... | |
| virtual void | slot_diGuyInstancedLodChanged (int lod) |
| Receives notification that the user changed the instancing lod value (1-7). More... | |
| virtual void | slot_diGuyVisualizeInstancingChanged (bool enabled) |
| Receives notification that the user changed the visualize instancing checkbox. More... | |
| virtual void | slot_diGuyTextureVariationsEnabledChanged (bool enabled) |
| Receives notification that the user changed the use texture variation enabled checkbox. More... | |
| virtual void | slot_diGuyMaxDrawDistanceChanged (float distance) |
| Receives notification that the user changed the max draw distance. More... | |
| virtual void | slot_diGuyMaxMotionUpdateDistanceChanged (float distance) |
| Receives notification that the user changed the max draw distance. More... | |
| virtual void | slot_diGuyMultiThreadUpdateChanged (bool enabled) |
| Receives notification that the user changed the multi threaded update checkbox. More... | |
Static Protected Member Functions | |
| static DtDiGuyScenario * | createInstance (DtDe &de, bool initVisualComponent=true) |
| static DtDiGuyScenario * | createNonVisualInstance (const std::string &dataPath) |
| static void | slot_displayToBeDestroyed (const std::string &displayName, DtDe *de) |
Owns a DiGuy scenario for the application.
| typedef std::set<DtString> makVrv::DtDiGuyScenario::StringSet |
| typedef std::vector<StringSet> makVrv::DtDiGuyScenario::StringSetVec |
| typedef std::vector<DtDiguyLightConfig> makVrv::DtDiGuyScenario::LightConfigDataArray |
|
protected |
|
protected |
|
delete |
Copy CTOR ( Deleted - non-copyable ).
|
virtual |
DTOR.
|
static |
|
static |
|
delete |
Assignment operator ( Deleted - non-copyable ).
| void makVrv::DtDiGuyScenario::initializeVisualComponent | ( | ) |
| diguyScenario& makVrv::DtDiGuyScenario::scenario | ( | ) |
Get the scenario.:
|
virtual |
|
virtual |
Get the OSG root node for the DI-Guy character geometry.
|
virtual |
should diguy guides be used to smooth character movement
|
virtual |
how aggressive the guides should be to get from diguy motion data to dead reckoned data
|
virtual |
should instancing be used
|
virtual |
should texture variation system be used
|
virtual |
should cull run in parallel
|
virtual |
should we use an octtree for culling
| std::string makVrv::DtDiGuyScenario::findCharacterName | ( | DtElementID | parentSceneObjectID | ) |
Finds the character name, given the parent scene object ID.
| int makVrv::DtDiGuyScenario::getSupportsWeightVariations | ( | DtElementID | parentSceneObjectID | ) |
Returns if character supports weight variations (skinny to fat)
| bool makVrv::DtDiGuyScenario::evalScript | ( | const std::string & | script | ) |
Evaluates a script using the diguyScenario's interpreter.
|
static |
Accessor for getting to the diguy attach group without needing to include/link diguy libraries.
|
static |
Accessor for getting to the diguy instancing attach group without needing to include/link diguy libraries.
|
virtual |
cached value so that every character doesn't need to ask
|
virtual |
octree functions for faster cull traversals
|
virtual |
remove associated octree node
|
virtual |
updates the octree with this character root node
|
inlinevirtual |
returns octree
|
inlinevirtual |
returns de
|
virtual |
|
inlinevirtual |
returns instance drawable singleton
only called by octree cull code
|
virtual |
returns the light point node for the characters
|
virtual |
returns the config data for lights.
|
virtual |
render gizmo helper function for drawing diguy skeletons and other visuals.
|
protectedvirtual |
Called when the window manager destroys a window.
|
protectedvirtual |
Called when the window manager creates a window.
|
protectedvirtual |
Called when the window manager destroys a window.
|
protectedvirtual |
Called when f3 stats change.
|
protectedvirtual |
Called when someone presses the reload shader button.
|
protectedvirtual |
Called when DtDe realizes this display engine's display configuration.
|
protectedvirtual |
Called before rendering the scene.
|
protectedvirtual |
Called after rendering the scene.
|
protectedvirtual |
Called after updating the scene.
|
protectedvirtual |
pass settings from vrv shared diguy settings down to diguy scenario
|
protectedvirtual |
Receives notification that the user changed the instancing enabled checkbox.
|
protectedvirtual |
Receives notification that the user changed the instancing lod value (1-7).
|
protectedvirtual |
Receives notification that the user changed the visualize instancing checkbox.
|
protectedvirtual |
Receives notification that the user changed the use texture variation enabled checkbox.
|
protectedvirtual |
Receives notification that the user changed the max draw distance.
|
protectedvirtual |
Receives notification that the user changed the max draw distance.
|
protectedvirtual |
Receives notification that the user changed the multi threaded update checkbox.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |