VR-Forces 4.10 Class Documentation
 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. More...

Classes

class  debugColor
 

Public Types

typedef std::map
< DtRoughnessSoilType,
debugColor
RoughnessSoilMapType
 roughness soil type More...
 
typedef std::map< DtSoilType,
debugColor
SoilTypeMapType
 soil type More...
 
typedef std::map< DtString,
debugColor
NavMeshMapType
 nav mesh type More...
 

Public Member Functions

 DtDebugDrawColors (const DtString &csvDebugDrawColorFile)
 since we don't want to depend on the DtDe to resolve the path in here More...
 
virtual ~DtDebugDrawColors ()
 
virtual void roughnessSoilTypeColor (DtRoughnessSoilType type, float &r, float &g, float &b, float &a)
 return the roughness soil type color More...
 
virtual void soilTypeColor (DtSoilType type, float &r, float &g, float &b, float &a)
 return the soil type color More...
 
virtual void navMeshTypeColor (DtString type, float &r, float &g, float &b, float &a)
 return the navmesh type color More...
 
std::string soilString (DtSoilType type) const
 return the soil type string More...
 
std::string roughnessSoilString (DtRoughnessSoilType type) const
 return the roughness soil type string More...
 
RoughnessSoilMapTyperoughnessSoilColorMap ()
 get the map for roughness soil type More...
 
SoilTypeMapTypesoilTypeColorMap ()
 get the map for soil type More...
 
NavMeshMapTypenavMeshMapType ()
 get the map for navmesh type More...
 

Protected Member Functions

virtual void loadColorMap ()
 

Protected Attributes

RoughnessSoilMapType myRoughnessSoilColorMap
 Map with roughness soil type color. More...
 
SoilTypeMapType mySoilTypeColorMap
 Map with soil type color. More...
 
NavMeshMapType myNavMeshColorMap
 Map nav mesh color. More...
 
DtString myCSVDebugDrawColorFile
 the debugDraw color mapping file More...
 

Detailed Description

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

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)