dtDIS::ValueMap Struct Reference

a name scope for all sorts of mappings More...

#include <valuemaps.h>

List of all members.

Static Public Member Functions

static bool GetArticulationNodeName (unsigned int parttype, std::string &nodename)
 find the supported node name for the part type identifier.
static bool GetArticulationMotionPropertyName (unsigned int motiontype, std::string &propertyname)
 find the actor property name value for the supported motiontype associated with articulation.
static bool GetDeadReckoningModelPropertyValue (unsigned char drm, std::string &property)
 maps the provided dead reckoning model to the supported Delta3D property value.
static bool GetRequiresGroundClamping (const DIS::EntityType &etype, bool &requires)
 informs clients if the EntityType should support ground clamping.


Detailed Description

a name scope for all sorts of mappings

Member Function Documentation

bool ValueMap::GetArticulationNodeName ( unsigned int  parttype,
std::string &  nodename 
) [static]

find the supported node name for the part type identifier.

Parameters:
parttype the part identifier in the DIS::ArticulationParameter
nodename the string value of the scenegraph node to be searched when performing articulation.
Returns:
true if parttype is supported, false if it is not suppported.

bool ValueMap::GetArticulationMotionPropertyName ( unsigned int  motiontype,
std::string &  propertyname 
) [static]

find the actor property name value for the supported motiontype associated with articulation.

Parameters:
motiontype the DIS standard type of motion.
propertyname the corresponding name of the property for the motiontype.
Returns:
true if the motiontype is supported

bool ValueMap::GetDeadReckoningModelPropertyValue ( unsigned char  drm,
std::string &  property 
) [static]

maps the provided dead reckoning model to the supported Delta3D property value.

Parameters:
drm the dead reckoning model.
property the value to be assigned which is mapped to the drm.
Returns:
true if the value of drm is supported.

bool ValueMap::GetRequiresGroundClamping ( const DIS::EntityType &  etype,
bool &  requires 
) [static]

informs clients if the EntityType should support ground clamping.

Parameters:
requires modified to true when the EntityType should be ground clamped.
etype the EntityType interested to know if ground clamping is desired.
Returns:
true if there exists a known interpretation of the EntityType


http://www.delta3d.org
2.0.0 generated 14 Feb 2008