VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
DtDebugDrawColors Class Reference

This class will read ammunition, entity, weapons and assemblies and provide information about them.

Classes

class  debugColor
 

Public Types

typedef std::map
< DtRoughnessSoilType,
debugColor
RoughnessSoilMapType
 
typedef std::map< DtSoilType,
debugColor
SoilTypeMapType
 
typedef std::map< DtString,
debugColor
NavMeshMapType
 

Public Member Functions

 DtDebugDrawColors (const DtString &csvDebugDrawColorFile)
 
virtual ~DtDebugDrawColors ()
 
virtual void roughnessSoilTypeColor (DtRoughnessSoilType type, float &r, float &g, float &b, float &a)
 
virtual void soilTypeColor (DtSoilType type, float &r, float &g, float &b, float &a)
 
virtual void navMeshTypeColor (DtString type, float &r, float &g, float &b, float &a)
 
std::string soilString (DtSoilType type) const
 
std::string roughnessSoilString (DtRoughnessSoilType type) const
 
RoughnessSoilMapTyperoughnessSoilColorMap ()
 
SoilTypeMapTypesoilTypeColorMap ()
 
NavMeshMapTypenavMeshMapType ()
 

Protected Member Functions

virtual void loadColorMap ()
 

Protected Attributes

RoughnessSoilMapType myRoughnessSoilColorMap
 
SoilTypeMapType mySoilTypeColorMap
 
NavMeshMapType myNavMeshColorMap
 
DtString myCSVDebugDrawColorFile
 

Member Typedef Documentation

roughness soil type

soil type

nav mesh type

Constructor & Destructor Documentation

DtDebugDrawColors::DtDebugDrawColors ( const DtString csvDebugDrawColorFile)

since we don't want to depend on the DtDe to resolve the path in here

virtual DtDebugDrawColors::~DtDebugDrawColors ( )
virtual

Member Function Documentation

virtual void DtDebugDrawColors::roughnessSoilTypeColor ( DtRoughnessSoilType  type,
float &  r,
float &  g,
float &  b,
float &  a 
)
virtual

return the roughness soil type color

virtual void DtDebugDrawColors::soilTypeColor ( DtSoilType  type,
float &  r,
float &  g,
float &  b,
float &  a 
)
virtual

return the soil type color

virtual void DtDebugDrawColors::navMeshTypeColor ( DtString  type,
float &  r,
float &  g,
float &  b,
float &  a 
)
virtual

return the navmesh type color

std::string DtDebugDrawColors::soilString ( DtSoilType  type) const

return the soil type string

std::string DtDebugDrawColors::roughnessSoilString ( DtRoughnessSoilType  type) const

return the roughness soil type string

RoughnessSoilMapType& DtDebugDrawColors::roughnessSoilColorMap ( )

get the map for roughness soil type

SoilTypeMapType& DtDebugDrawColors::soilTypeColorMap ( )

get the map for soil type

NavMeshMapType& DtDebugDrawColors::navMeshMapType ( )

get the map for navmesh type

virtual void DtDebugDrawColors::loadColorMap ( )
protectedvirtual

Member Data Documentation

RoughnessSoilMapType DtDebugDrawColors::myRoughnessSoilColorMap
protected

Map with roughness soil type color.

SoilTypeMapType DtDebugDrawColors::mySoilTypeColorMap
protected

Map with soil type color.

NavMeshMapType DtDebugDrawColors::myNavMeshColorMap
protected

Map nav mesh color.

DtString DtDebugDrawColors::myCSVDebugDrawColorFile
protected

the debugDraw color mapping file


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)