![]() |
VR-Forces Developer's Guide
|
DtBaseProcess is the base class for all messages processes that can be sent between the server and the client.

Public Member Functions | |
| DtBaseProcess (makVrv::DtDe &de) | |
| virtual | ~DtBaseProcess () |
| virtual void | tick (DtDebugDrawRendererDriver *driver)=0 |
| virtual bool | isDone ()=0 |
| virtual DtBaseMessage * | response () |
Protected Member Functions | |
| 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) |
| virtual void | error (float &r, float &g, float &b, float &a) |
| DtPoint | geocentricToDatabase (const DtPoint &geocentric) const |
| void | geocentricToDatabase (DtVector &point) const |
Protected Attributes | |
| DtDebugDrawColors * | myDebugDrawColors |
| makVrv::DtDe & | myDe |
| DtBaseMessage * | myResponse |
Static Protected Attributes | |
| static DtFilename | theDebugDrawColorsFilename |
| makVrf::DtBaseProcess::DtBaseProcess | ( | makVrv::DtDe & | de | ) |
CTOR/DTOR.
|
virtual |
|
pure virtual |
Tick needs to be called every frame to advance the capture process.
Implemented in makVrf::DtNavMeshProcess, makVrf::DtFeatureProcess, and makVrf::DtTerrainAreaProcess.
|
pure virtual |
Implemented in makVrf::DtNavMeshProcess, makVrf::DtFeatureProcess, and makVrf::DtTerrainAreaProcess.
|
virtual |
return the response for the process
|
protectedvirtual |
return the roughness soil type color
|
protectedvirtual |
return the soil type color
|
protectedvirtual |
return the navmesh type color
|
protectedvirtual |
error reading the colors
Convert a point from geocentric (ECEF) coordinates into this renderer scene's database coordinate system. Debug-draw triangles are received in geocentric coordinates - a projection-independent frame - and the VR-Vantage scene graph (sgEnvironmentRoot) is in the projected database frame, so they must be converted before being placed. This makes the geometry line up with the GUI terrain even when the sim and GUI use terrains with different projections.
|
protected |
Convert a point from geocentric (ECEF) coordinates into this renderer scene's database coordinate system. Debug-draw triangles are received in geocentric coordinates - a projection-independent frame - and the VR-Vantage scene graph (sgEnvironmentRoot) is in the projected database frame, so they must be converted before being placed. This makes the geometry line up with the GUI terrain even when the sim and GUI use terrains with different projections.
|
staticprotected |
|
protected |
Colors from the csv file.
|
protected |
|
protected |