![]() |
VR-Forces 4.8 Class Documentation
|
Process responsible to draw lines and triangles in a certain nav mesh area. More...

Public Member Functions | |
| DtNavMeshProcess (makVrv::DtDe &de, DtNavMeshAreaRequest *request) | |
| CTOR/DTOR The constructor creates a copy of the triangle request. More... | |
| virtual | ~DtNavMeshProcess () |
| virtual void | tick (DtDebugDrawRendererDriver *driver) |
| Tick (tick only once by message) More... | |
| virtual bool | isDone () |
| returns true once the process reaches one of the END states More... | |
Public Member Functions inherited from makVrf::DtBaseProcess | |
| DtBaseProcess (makVrv::DtDe &de) | |
| CTOR/DTOR. More... | |
| virtual | ~DtBaseProcess () |
| virtual DtBaseMessage * | response () |
| return the response for the process More... | |
Protected Types | |
| enum | ProcessStep { WAITING, RECEIVED_REQUEST, END_REQUEST, SEND_RESPONSE, END_SUCCESS, END_ERROR } |
| steps in the image capture process More... | |
Protected Member Functions | |
| virtual void | beginRequest (DtDebugDrawRendererDriver *driver) |
| draw the triangles More... | |
| virtual void | respondError (std::string errorMsg) |
| send an error response More... | |
| virtual void | sendResponse () |
| send a response to the client (success or failure) More... | |
| virtual void | drawNavMesh () |
| create the nav mesh More... | |
| virtual void | drawNavMeshWithColors (float alpha) |
| create the triangles in osg format for each nav mesh colorized based on the navtag Alpha value from the slider overwrite the file More... | |
| virtual void | initTransorm (DtPoint &origin) |
| init the origin and the top transform More... | |
Protected Member Functions inherited from makVrf::DtBaseProcess | |
| 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... | |
| virtual void | error (float &r, float &g, float &b, float &a) |
| error reading the colors More... | |
Protected Attributes | |
| ProcessStep | myProcessStep |
| Process status. More... | |
| DtNavMeshAreaRequest * | myRequest |
| brief Message request More... | |
| osg::ref_ptr < osg::MatrixTransform > | myTransform |
| top transform More... | |
| DtPoint | myOrigin |
| origin More... | |
| bool | myOriginSet |
| was the origin set More... | |
Protected Attributes inherited from makVrf::DtBaseProcess | |
| DtDebugDrawColors * | myDebugDrawColors |
| Colors from the csv file. More... | |
| makVrv::DtDe & | myDe |
| DtBaseMessage * | myResponse |
Additional Inherited Members | |
Static Protected Attributes inherited from makVrf::DtBaseProcess | |
| static DtFilename | theDebugDrawColorsFilename |
Process responsible to draw lines and triangles in a certain nav mesh area.
|
protected |
| makVrf::DtNavMeshProcess::DtNavMeshProcess | ( | makVrv::DtDe & | de, |
| DtNavMeshAreaRequest * | request | ||
| ) |
CTOR/DTOR The constructor creates a copy of the triangle request.
|
virtual |
|
virtual |
Tick (tick only once by message)
Implements makVrf::DtBaseProcess.
|
virtual |
returns true once the process reaches one of the END states
Implements makVrf::DtBaseProcess.
|
protectedvirtual |
draw the triangles
|
protectedvirtual |
send an error response
|
protectedvirtual |
send a response to the client (success or failure)
|
protectedvirtual |
create the nav mesh
|
protectedvirtual |
create the triangles in osg format for each nav mesh colorized based on the navtag Alpha value from the slider overwrite the file
|
protectedvirtual |
init the origin and the top transform
|
protected |
Process status.
|
protected |
brief Message request
|
protected |
top transform
|
protected |
origin
|
protected |
was the origin set