![]() |
VR-Forces Developer's Guide
|
Owns a DiGuy scenario for the application.

Public Types | |
| typedef std::set< DtString > | StringSet |
| typedef std::vector< StringSet > | StringSetVec |
| typedef std::vector < DtDiguyLightConfig > | LightConfigDataArray |
| typedef std::vector < DtDiguyStationConfig > | StationConfigArray |
Public Member Functions | |
| DtDiGuyScenario (const DtDiGuyScenario &rhs)=delete | |
| DtDiGuyScenario & | operator= (const DtDiGuyScenario &rhs)=delete |
| virtual | ~DtDiGuyScenario () |
| void | initializeVisualComponent () |
| diguyScenario & | scenario () |
| virtual void | clearScene () |
| virtual osg::Node * | characterRoot () |
| virtual bool | useGuides () const |
| virtual float | guideSyncGain () const |
| virtual bool | useInstancing () const |
| virtual bool | useTextureVariations () const |
| virtual bool | useMultithreadedCull () const |
| virtual bool | useOctree () const |
| std::string | findCharacterName (DtElementID parentSceneObjectID) |
| diguyCharacter * | getCharacter (DtElementID parentSceneObjectID) |
| int | getSupportsWeightVariations (DtElementID parentSceneObjectID) |
| bool | evalScript (const std::string &script) |
| virtual bool | isGeocentric () const |
| virtual DtDe & | getDe () |
| virtual void | cullAndUpdate (const Frustum_64 &frustum, const DtDiGuyCullData &cullData) |
| virtual DtDiGuyInstanceDrawable * | instancedDrawable () |
| virtual void | updateStats (int mask, double duration) |
| virtual DtLightPointNode * | lightPointNode () |
| virtual const LightConfigDataArray & | lightDataArray () |
| virtual const StationConfigArray & | stationDataArray () |
| virtual void | drawDebugLines (osg::RenderInfo &renderInfo, const osg::Vec3d &eyePoint, DtOsgGizmoRenderer *renderer) |
| virtual bool | debugUIActive () |
Octree methods. | |
| virtual void | createOctreeNode (DtDiGuyOsgRootNode *pChar) |
| virtual void | destroyOctreeNode (DtDiGuyOsgRootNode *pChar) |
| virtual void | characterOctreeNodeUpdated (DtDiGuyOsgRootNode *pChar) |
| virtual Octree_64 * | octree () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtDiGuyScenario & | instance (DtDe &de, bool initVisualComponent=true) |
| static DtDiGuyScenario * | lightweight_instance (const std::string &dataPath) |
| static osg::Group * | getDiGuyAttachGroup () |
| static osg::Group * | getDiGuyInstancingAttachGroup () |
Static Public Attributes | |
| static int | theStatNumCharDrawn |
| static tbb::atomic< int > | theStatNumCharInstanced |
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) |
| typedef std::set<DtString> makVrv::DtDiGuyScenario::StringSet |
| typedef std::vector<StringSet> makVrv::DtDiGuyScenario::StringSetVec |
| typedef std::vector<DtDiguyLightConfig> makVrv::DtDiGuyScenario::LightConfigDataArray |
| typedef std::vector<DtDiguyStationConfig> makVrv::DtDiGuyScenario::StationConfigArray |
|
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.
| diguyCharacter* makVrv::DtDiGuyScenario::getCharacter | ( | DtElementID | parentSceneObjectID | ) |
helper function to get pointer to specific DI-Guy character
| 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 |
returns the config data for stations.
|
virtual |
render gizmo helper function for drawing diguy skeletons and other visuals.
|
inlinevirtual |
is the lower level debug UI visible
|
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.
|
protectedvirtual |
Called when the window manager destroys a window.
|
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 |
|
protected |
|
protected |
|
protected |