VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static 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 Types

typedef std::list< DtStringStringList
 
typedef std::vector< StringListStringListVec
 

Public Member Functions

void initializeVisualComponent ()
 
virtual ~DtDiGuyScenario ()
 DTOR. More...
 
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 int useGuides ()
 should diguy guides be used to smooth character movement More...
 
virtual float guideSyncGain ()
 how aggressive the guides should be to get from diguy motion data to dead reckoned data More...
 
virtual int useInstancing ()
 should instancing be used More...
 
virtual bool useMultithreadedCull ()
 should cull run in parallel More...
 
virtual bool useOctree ()
 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...
 
int getNumCharacterTypes ()
 

Info about particular character types or appearances. More...

 
const chargetCharacterTypeAtIndex (int index)
 Get name of a DI-Guy character type. More...
 
int getCharacterTypeNumAppearances (const char *typeName)
 Get number of appearances associated with a particular character type. More...
 
const chargetCharacterTypeAppearanceAtIndex (const char *typeName, int index)
 Get name of appearance. More...
 
int getCharacterTypeNumGestures (const char *typeName)
 Get number of gestures associated with a particular character type. More...
 
const chargetCharacterTypeGestureAtIndex (const char *typeName, int index)
 Get name of gesture. More...
 
const chargetHandItemClass (const char *typeName)
 Get the name of the hand item class available to a particular character type (e.g. More...
 
int getNumHandItemsInClass (const char *className)
 
const chargetHandItemFromClass (const char *className, int index)
 Gets the name of a hand item (e.g. "m16") More...
 
int getCharacterTypeNumHeads (const char *typeName, const char *appearanceName)
 Get number of heads available for a particular character type/appearance combo. More...
 
const chargetCharacterTypeHeadAtIndex (const char *typeName, const char *appearanceName, int index)
 Get name of a head appearance. More...
 
int getCharacterTypeNumActions (const char *typeName)
 Get number of actions (i.e. animations) available to a particular character type. More...
 
const chargetCharacterTypeActionAtIndex (const char *typeName, int index)
 Get name of an action. More...
 
float getCharacterTypeActionDuration (const char *typeName, const char *actionName)
 How long an action (animation) is expected to take, in seconds. More...
 
float getCharacterTypeActionSpeed (const char *typeName, const char *actionName)
 The default speed (m/s) at which a character will move while carrying out the animation. More...
 
const chargetCharacterTypeActionPosture (const char *typeName, const char *actionName)
 Get name of posture associated with a particular character type and action ("upright", "crouching", "prone", "sitting", "kneeling", "any") More...
 
const chargetCharacterTypeActionDirection (const char *typeName, const char *actionName)
 Get name of direction associated with a particular character type and action ("none", "forward", "backward", "left", "right", "locomotion", "up", "down", "turn_left", "turn_right", "nonlinear", "linear_offaxis", "inherit", "unknown") More...
 
const chargetCharacterTypeActionPrimaryVariant (const char *typeName, const char *actionName)
 Get name of variant associated with a particular character type and action ("normal", "aim", "dead", "angry", "ambient", "assault", "curious", "exercise", "funky", "injured", "ready", "sick", "socialize", "other", "misc0", "misc1", "misc2", "misc3", "misc4", "misc5", "misc6", "misc7", "misc8", "misc9", "unknown", "any", "count") More...
 
int getCharacterTypeTransitionInfo (const char *typeName, const char *actionFrom, const char *actionTo, DtDiguyTransitionInfo &info)
 Data about the transition returns -1 if there is no valid transition. More...
 
int getNumTypeMapEntries ()
 

Type Map Functions More...

 
const chargetTypeMapCharacterType (int index)
 Get name of character type associated with a type map entry. More...
 
const chargetTypeMapCharacterAppearance (int index)
 Get name of character appearance associated with a type map entry. More...
 
const chargetTypeMapFieldValue (int index, const char *fieldName)
 Get actual type map field value. More...
 
const chargetTypeMapFieldValue (int index, int fieldIndex)
 
int getNumTypeMapCharacterClasses ()
 
const chargetTypeMapCharacterClassAtIndex (int index)
 
int getNumTypeMapCategories (const char *character_class)
 
const chargetTypeMapCategoryAtIndex (const char *character_class, int index)
 
int getNumTypeMapSubcategories (const char *character_class, const char *category)
 
const chargetTypeMapSubcategoryAtIndex (const char *character_class, const char *category, int index)
 
virtual void getAppearancesMatchingDiGuyTypeMap (const DtString &characterType, std::vector< DtString > &fields, std::vector< DtString > &retAppearances)
 Given a DI-Guy character type and a complete set of type map field values, any of which can be a wildcard ("*"), return all matching character appearances. More...
 
virtual void getAppearancesMatchingPartialDiGuyTypeMap (const DtString &characterType, std::vector< DtString > &partialFields, std::vector< int > &fieldIndices, std::vector< DtString > &retAppearances)
 Similar to above, but only some fields are specified. More...
 
virtual void getTypeMapFieldOptions (const DtString &characterType, std::vector< DtString > &fields, StringListVec &retValues)
 Given a DI-Guy character type and a complete set of type map field values, any of which can be a wildcard ("*"), return the possible choices for each type map field. More...
 
virtual void getTypeMapPartialFieldOptions (const DtString &characterType, std::vector< DtString > &partialFields, std::vector< int > &fieldIndices, StringListVec &retValues)
 Uses the same idea as getAppearancesMatchingPartialDiGuyTypeMap(). retValues only contains a set of lists for the fields passed in. More...
 
virtual void initTypeMapNodes ()
 
virtual bool isGeocentric ()
 cached value so that every character doesn't need to ask More...
 
virtual DtDegetDe ()
 returns de More...
 
virtual void cullAndUpdate (const Frustum_64 &frustum, const DtDiGuyCullData &cullData)
 
virtual DtDiGuyInstanceDrawableinstancedDrawable ()
 returns instance drawable singleton More...
 
virtual void updateStats (int mask, double duration)
 only called by octree cull code More...
 
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_64octree ()
 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 DtDiGuyScenarioinstance (DtDe &de, bool initVisualComponent=true)
 
static DtDiGuyScenariolightweight_instance (const std::string &dataPath)
 
static osg::Group * getDiGuyAttachGroup ()
 accessor method for getting to the diguy attach group without needing to include/link diguy libraries More...
 
static osg::Group * getDiGuyInstancingAttachGroup ()
 accessor method 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< inttheStatNumCharInstanced
 

Protected Member Functions

virtual void slot_terrainLoaded (const DtUnicode &terrain, bool reload)
 Called when the window manager destroys a window. More...
 
virtual void slot_windowDestroyed (DtWindow *window)
 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_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_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_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...
 
diguyCharacter * getCharacter (DtElementID parentSceneObjectID)
 
void updateScenario (double simTime)
 
void updateScenario ()
 
void setComponentVisualizationMode (int mode)
 
 DtDiGuyScenario (DtDe &de)
 
 DtDiGuyScenario (const std::string &dataPth)
 
void createDiGuyScenario ()
 
void reloadConfigInfo ()
 

Static Protected Member Functions

static DtDiGuyScenariocreateInstance (DtDe &de, bool initVisualComponent=true)
 
static DtDiGuyScenariocreateNonVisualInstance (const std::string &dataPath)
 
static void slot_displayToBeDestroyed (const std::string &displayName, DtDe *de)
 

Protected Attributes

DtDemyDe
 
bool myDeIsValid
 
diguyScenario * myScenario
 
osg::ref_ptr< osg::Group > myDiguyRoot
 
osg::ref_ptr< osg::Group > myCharacterRoot
 
osg::ref_ptr
< osg::MatrixTransform > 
myInstancingRoot
 
osg::ref_ptr
< DtDiGuyInstanceDrawable
myInstancedDrawable
 
bool myIsGeocentric
 
double myFirstUpdateT
 
double myPreviousUpdateTime
 
int myUseInstancing
 
int myUseGuides
 
bool myUseOctree
 
bool myUseMultithreadedCull
 
float myMaxMotionUpdateDistance
 
float myGuideSyncGain
 
bool myVisualComponentInitialized
 
bool myLightweightInstance
 
DtDiGuyTypeMapFieldNode myTypeMapFieldsRootNode
 
bool myHaveSetupTypeMapFieldsNodes
 
std::string myAlternateDataPath
 
DtSignalConnectionManager myConnections
 
tbb::mutex myOctreeMutex
 
Octree_64myOctree
 
Octree_64::NodeVector myVisibleOctreeNodes
 
tbb::concurrent_vector
< DtDiGuyOsgRootNode * > 
myNoninstancedNodeArray
 
int myStatOctreeUpdate
 
float myStatOctreeUpdateTime
 
float myStatPreviousOctreeUpdateTime
 
float myStatCulltime
 

Detailed Description

Owns a DiGuy scenario for the application.

Member Typedef Documentation

Constructor & Destructor Documentation

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

DTOR.

makVrv::DtDiGuyScenario::DtDiGuyScenario ( DtDe de)
protected
makVrv::DtDiGuyScenario::DtDiGuyScenario ( const std::string &  dataPth)
protected

Member Function Documentation

static DtDiGuyScenario& makVrv::DtDiGuyScenario::instance ( DtDe de,
bool  initVisualComponent = true 
)
static
void makVrv::DtDiGuyScenario::initializeVisualComponent ( )
static DtDiGuyScenario* makVrv::DtDiGuyScenario::lightweight_instance ( const std::string &  dataPath)
static
diguyScenario& makVrv::DtDiGuyScenario::scenario ( )

Get the scenario.:

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

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

virtual int makVrv::DtDiGuyScenario::useGuides ( )
virtual

should diguy guides be used to smooth character movement

virtual float makVrv::DtDiGuyScenario::guideSyncGain ( )
virtual

how aggressive the guides should be to get from diguy motion data to dead reckoned data

virtual int makVrv::DtDiGuyScenario::useInstancing ( )
virtual

should instancing be used

virtual bool makVrv::DtDiGuyScenario::useMultithreadedCull ( )
virtual

should cull run in parallel

virtual bool makVrv::DtDiGuyScenario::useOctree ( )
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.

int makVrv::DtDiGuyScenario::getNumCharacterTypes ( )


Info about particular character types or appearances.

These are categories in DI-Guy, sets of settings

and attributes that are available to characters at creation time or afterwards.

Get number of total available DI-Guy character types

const char* makVrv::DtDiGuyScenario::getCharacterTypeAtIndex ( int  index)

Get name of a DI-Guy character type.

int makVrv::DtDiGuyScenario::getCharacterTypeNumAppearances ( const char typeName)

Get number of appearances associated with a particular character type.

const char* makVrv::DtDiGuyScenario::getCharacterTypeAppearanceAtIndex ( const char typeName,
int  index 
)

Get name of appearance.

int makVrv::DtDiGuyScenario::getCharacterTypeNumGestures ( const char typeName)

Get number of gestures associated with a particular character type.

const char* makVrv::DtDiGuyScenario::getCharacterTypeGestureAtIndex ( const char typeName,
int  index 
)

Get name of gesture.

const char* makVrv::DtDiGuyScenario::getHandItemClass ( const char typeName)

Get the name of the hand item class available to a particular character type (e.g.

"street_implements", "weapons")

int makVrv::DtDiGuyScenario::getNumHandItemsInClass ( const char className)
const char* makVrv::DtDiGuyScenario::getHandItemFromClass ( const char className,
int  index 
)

Gets the name of a hand item (e.g. "m16")

int makVrv::DtDiGuyScenario::getCharacterTypeNumHeads ( const char typeName,
const char appearanceName 
)

Get number of heads available for a particular character type/appearance combo.

const char* makVrv::DtDiGuyScenario::getCharacterTypeHeadAtIndex ( const char typeName,
const char appearanceName,
int  index 
)

Get name of a head appearance.

int makVrv::DtDiGuyScenario::getCharacterTypeNumActions ( const char typeName)

Get number of actions (i.e. animations) available to a particular character type.

const char* makVrv::DtDiGuyScenario::getCharacterTypeActionAtIndex ( const char typeName,
int  index 
)

Get name of an action.

float makVrv::DtDiGuyScenario::getCharacterTypeActionDuration ( const char typeName,
const char actionName 
)

How long an action (animation) is expected to take, in seconds.

float makVrv::DtDiGuyScenario::getCharacterTypeActionSpeed ( const char typeName,
const char actionName 
)

The default speed (m/s) at which a character will move while carrying out the animation.

const char* makVrv::DtDiGuyScenario::getCharacterTypeActionPosture ( const char typeName,
const char actionName 
)

Get name of posture associated with a particular character type and action ("upright", "crouching", "prone", "sitting", "kneeling", "any")

const char* makVrv::DtDiGuyScenario::getCharacterTypeActionDirection ( const char typeName,
const char actionName 
)

Get name of direction associated with a particular character type and action ("none", "forward", "backward", "left", "right", "locomotion", "up", "down", "turn_left", "turn_right", "nonlinear", "linear_offaxis", "inherit", "unknown")

const char* makVrv::DtDiGuyScenario::getCharacterTypeActionPrimaryVariant ( const char typeName,
const char actionName 
)

Get name of variant associated with a particular character type and action ("normal", "aim", "dead", "angry", "ambient", "assault", "curious", "exercise", "funky", "injured", "ready", "sick", "socialize", "other", "misc0", "misc1", "misc2", "misc3", "misc4", "misc5", "misc6", "misc7", "misc8", "misc9", "unknown", "any", "count")

int makVrv::DtDiGuyScenario::getCharacterTypeTransitionInfo ( const char typeName,
const char actionFrom,
const char actionTo,
DtDiguyTransitionInfo info 
)

Data about the transition returns -1 if there is no valid transition.

int makVrv::DtDiGuyScenario::getNumTypeMapEntries ( )


Type Map Functions

A type map contains several extra fields that can be used to classify a character These fields are: "character_class", "category", "subcategory", "sex", "age", "race", "country", "military_branch", and "carried_object"

Samples set of values: "human/military/soldier/male/adult/black/usa/army/m16" "vehicle/civilian/automobile/-/-/-/-/-/-"

"object/prop/unspecified/warehouse/industry/industrial/-/-/-"

Gets total number of type map entries in the system. Besides the map described above, there's also a character type string and an appearance string.

const char* makVrv::DtDiGuyScenario::getTypeMapCharacterType ( int  index)

Get name of character type associated with a type map entry.

const char* makVrv::DtDiGuyScenario::getTypeMapCharacterAppearance ( int  index)

Get name of character appearance associated with a type map entry.

const char* makVrv::DtDiGuyScenario::getTypeMapFieldValue ( int  index,
const char fieldName 
)

Get actual type map field value.

const char* makVrv::DtDiGuyScenario::getTypeMapFieldValue ( int  index,
int  fieldIndex 
)
int makVrv::DtDiGuyScenario::getNumTypeMapCharacterClasses ( )
const char* makVrv::DtDiGuyScenario::getTypeMapCharacterClassAtIndex ( int  index)
int makVrv::DtDiGuyScenario::getNumTypeMapCategories ( const char character_class)
const char* makVrv::DtDiGuyScenario::getTypeMapCategoryAtIndex ( const char character_class,
int  index 
)
int makVrv::DtDiGuyScenario::getNumTypeMapSubcategories ( const char character_class,
const char category 
)
const char* makVrv::DtDiGuyScenario::getTypeMapSubcategoryAtIndex ( const char character_class,
const char category,
int  index 
)
virtual void makVrv::DtDiGuyScenario::getAppearancesMatchingDiGuyTypeMap ( const DtString characterType,
std::vector< DtString > &  fields,
std::vector< DtString > &  retAppearances 
)
virtual

Given a DI-Guy character type and a complete set of type map field values, any of which can be a wildcard ("*"), return all matching character appearances.

virtual void makVrv::DtDiGuyScenario::getAppearancesMatchingPartialDiGuyTypeMap ( const DtString characterType,
std::vector< DtString > &  partialFields,
std::vector< int > &  fieldIndices,
std::vector< DtString > &  retAppearances 
)
virtual

Similar to above, but only some fields are specified.

The entries in fieldIndices correspond to the entries in partialFields, and each is the index of a type map field. partialFields contains the values of those particular fields; all others are assumed to be wildcards.

virtual void makVrv::DtDiGuyScenario::getTypeMapFieldOptions ( const DtString characterType,
std::vector< DtString > &  fields,
StringListVec retValues 
)
virtual

Given a DI-Guy character type and a complete set of type map field values, any of which can be a wildcard ("*"), return the possible choices for each type map field.

The idea is that choices made in a more significant field narrow down the available choices in less significant fields. Each vector entry in retValues contains a list of choices corresponding to that type map field index.

virtual void makVrv::DtDiGuyScenario::getTypeMapPartialFieldOptions ( const DtString characterType,
std::vector< DtString > &  partialFields,
std::vector< int > &  fieldIndices,
StringListVec retValues 
)
virtual

Uses the same idea as getAppearancesMatchingPartialDiGuyTypeMap(). retValues only contains a set of lists for the fields passed in.

virtual void makVrv::DtDiGuyScenario::initTypeMapNodes ( )
virtual
static osg::Group* makVrv::DtDiGuyScenario::getDiGuyAttachGroup ( )
static

accessor method for getting to the diguy attach group without needing to include/link diguy libraries

static osg::Group* makVrv::DtDiGuyScenario::getDiGuyInstancingAttachGroup ( )
static

accessor method for getting to the diguy instancing attach group without needing to include/link diguy libraries

virtual bool makVrv::DtDiGuyScenario::isGeocentric ( )
virtual

cached value so that every character doesn't need to ask

virtual void makVrv::DtDiGuyScenario::createOctreeNode ( DtDiGuyOsgRootNode pChar)
virtual

octree functions for faster cull traversals

virtual void makVrv::DtDiGuyScenario::destroyOctreeNode ( DtDiGuyOsgRootNode pChar)
virtual

remove associated octree node

virtual void makVrv::DtDiGuyScenario::characterOctreeNodeUpdated ( DtDiGuyOsgRootNode pChar)
virtual

updates the octree with this character root node

virtual Octree_64* makVrv::DtDiGuyScenario::octree ( )
inlinevirtual

returns octree

virtual DtDe& makVrv::DtDiGuyScenario::getDe ( )
inlinevirtual

returns de

virtual void makVrv::DtDiGuyScenario::cullAndUpdate ( const Frustum_64 frustum,
const DtDiGuyCullData cullData 
)
virtual
virtual DtDiGuyInstanceDrawable* makVrv::DtDiGuyScenario::instancedDrawable ( )
inlinevirtual

returns instance drawable singleton

virtual void makVrv::DtDiGuyScenario::updateStats ( int  mask,
double  duration 
)
virtual

only called by octree cull code

virtual void makVrv::DtDiGuyScenario::slot_terrainLoaded ( const DtUnicode terrain,
bool  reload 
)
protectedvirtual

Called when the window manager destroys a window.

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_ProfilingChanged ( bool  active)
protectedvirtual

Called when f3 stats change.

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.

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

Called after updating the scene.

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

pass settings from vrv shared diguy settings down to diguy scenario

virtual void makVrv::DtDiGuyScenario::slot_diGuyInstancingEnabledChanged ( bool  enabled)
protectedvirtual

Receives notification that the user changed the instancing enabled checkbox.

virtual void makVrv::DtDiGuyScenario::slot_diGuyInstancedLodChanged ( int  lod)
protectedvirtual

Receives notification that the user changed the instancing lod value (1-7).

virtual void makVrv::DtDiGuyScenario::slot_diGuyVisualizeInstancingChanged ( bool  enabled)
protectedvirtual

Receives notification that the user changed the visualize instancing checkbox.

virtual void makVrv::DtDiGuyScenario::slot_diGuyMaxDrawDistanceChanged ( float  distance)
protectedvirtual

Receives notification that the user changed the max draw distance.

virtual void makVrv::DtDiGuyScenario::slot_diGuyMaxMotionUpdateDistanceChanged ( float  distance)
protectedvirtual

Receives notification that the user changed the max draw distance.

virtual void makVrv::DtDiGuyScenario::slot_diGuyMultiThreadUpdateChanged ( bool  enabled)
protectedvirtual

Receives notification that the user changed the multi threaded update checkbox.

diguyCharacter* makVrv::DtDiGuyScenario::getCharacter ( DtElementID  parentSceneObjectID)
protected
void makVrv::DtDiGuyScenario::updateScenario ( double  simTime)
protected
void makVrv::DtDiGuyScenario::updateScenario ( )
protected
void makVrv::DtDiGuyScenario::setComponentVisualizationMode ( int  mode)
protected
void makVrv::DtDiGuyScenario::createDiGuyScenario ( )
protected
void makVrv::DtDiGuyScenario::reloadConfigInfo ( )
protected
static DtDiGuyScenario* makVrv::DtDiGuyScenario::createInstance ( DtDe de,
bool  initVisualComponent = true 
)
staticprotected
static DtDiGuyScenario* makVrv::DtDiGuyScenario::createNonVisualInstance ( const std::string &  dataPath)
staticprotected
static void makVrv::DtDiGuyScenario::slot_displayToBeDestroyed ( const std::string &  displayName,
DtDe de 
)
staticprotected

Member Data Documentation

DtDe& makVrv::DtDiGuyScenario::myDe
protected
bool makVrv::DtDiGuyScenario::myDeIsValid
protected
diguyScenario* makVrv::DtDiGuyScenario::myScenario
protected
osg::ref_ptr<osg::Group> makVrv::DtDiGuyScenario::myDiguyRoot
protected
osg::ref_ptr<osg::Group> makVrv::DtDiGuyScenario::myCharacterRoot
protected
osg::ref_ptr<osg::MatrixTransform> makVrv::DtDiGuyScenario::myInstancingRoot
protected
osg::ref_ptr<DtDiGuyInstanceDrawable> makVrv::DtDiGuyScenario::myInstancedDrawable
protected
bool makVrv::DtDiGuyScenario::myIsGeocentric
protected
double makVrv::DtDiGuyScenario::myFirstUpdateT
protected
double makVrv::DtDiGuyScenario::myPreviousUpdateTime
protected
int makVrv::DtDiGuyScenario::myUseInstancing
protected
int makVrv::DtDiGuyScenario::myUseGuides
protected
bool makVrv::DtDiGuyScenario::myUseOctree
protected
bool makVrv::DtDiGuyScenario::myUseMultithreadedCull
protected
float makVrv::DtDiGuyScenario::myMaxMotionUpdateDistance
protected
float makVrv::DtDiGuyScenario::myGuideSyncGain
protected
bool makVrv::DtDiGuyScenario::myVisualComponentInitialized
protected
bool makVrv::DtDiGuyScenario::myLightweightInstance
protected
DtDiGuyTypeMapFieldNode makVrv::DtDiGuyScenario::myTypeMapFieldsRootNode
protected
bool makVrv::DtDiGuyScenario::myHaveSetupTypeMapFieldsNodes
protected
std::string makVrv::DtDiGuyScenario::myAlternateDataPath
protected
DtSignalConnectionManager makVrv::DtDiGuyScenario::myConnections
protected
tbb::mutex makVrv::DtDiGuyScenario::myOctreeMutex
protected
Octree_64* makVrv::DtDiGuyScenario::myOctree
protected
Octree_64::NodeVector makVrv::DtDiGuyScenario::myVisibleOctreeNodes
protected
tbb::concurrent_vector< DtDiGuyOsgRootNode*> makVrv::DtDiGuyScenario::myNoninstancedNodeArray
protected
int makVrv::DtDiGuyScenario::myStatOctreeUpdate
protected
float makVrv::DtDiGuyScenario::myStatOctreeUpdateTime
protected
float makVrv::DtDiGuyScenario::myStatPreviousOctreeUpdateTime
protected
float makVrv::DtDiGuyScenario::myStatCulltime
protected
int makVrv::DtDiGuyScenario::theStatNumCharDrawn
static
tbb::atomic<int> makVrv::DtDiGuyScenario::theStatNumCharInstanced
static

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)