![]() |
VR-Forces 5.0.3 Developer's Guide
|
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 |
| RoughnessSoilMapType & | roughnessSoilColorMap () |
| SoilTypeMapType & | soilTypeColorMap () |
| NavMeshMapType & | navMeshMapType () |
Protected Member Functions | |
| virtual void | loadColorMap () |
Protected Attributes | |
| RoughnessSoilMapType | myRoughnessSoilColorMap |
| SoilTypeMapType | mySoilTypeColorMap |
| NavMeshMapType | myNavMeshColorMap |
| DtString | myCSVDebugDrawColorFile |
| typedef std::map<DtRoughnessSoilType, debugColor> DtDebugDrawColors::RoughnessSoilMapType |
roughness soil type
| typedef std::map<DtSoilType, debugColor> DtDebugDrawColors::SoilTypeMapType |
soil type
| typedef std::map<DtString, debugColor> DtDebugDrawColors::NavMeshMapType |
nav mesh type
| DtDebugDrawColors::DtDebugDrawColors | ( | const DtString & | csvDebugDrawColorFile | ) |
since we don't want to depend on the DtDe to resolve the path in here
|
virtual |
|
virtual |
return the roughness soil type color
|
virtual |
return the soil type color
|
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
|
protectedvirtual |
|
protected |
Map with roughness soil type color.
|
protected |
Map with soil type color.
|
protected |
Map nav mesh color.
|
protected |
the debugDraw color mapping file