VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtFeatureProcess Class Reference

Process responsible to draw feature information on screen. More...

Inheritance diagram for makVrf::DtFeatureProcess:
Inheritance graph
[legend]

Public Member Functions

 DtFeatureProcess (makVrv::DtDe &de, DtFeatureRequest *request)
 CTOR/DTOR The constructor creates a copy of the feature request. More...
 
virtual ~DtFeatureProcess ()
 
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 DtBaseMessageresponse ()
 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 drawLines (const std::string &name, osg::ref_ptr< osg::Node > transform)
 create the lines in osg format More...
 
virtual void initTransorm (DtPoint &origin, osg::ref_ptr< osg::Node > transform)
 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...
 
DtFeatureRequestmyRequest
 brief Message request More...
 
osg::ref_ptr
< osg::MatrixTransform > 
myTransform
 top transform More...
 
DtPoint myOrigin
 origin More...
 
- Protected Attributes inherited from makVrf::DtBaseProcess
DtDebugDrawColorsmyDebugDrawColors
 Colors from the csv file. More...
 
makVrv::DtDemyDe
 
DtBaseMessagemyResponse
 

Additional Inherited Members

- Static Protected Attributes inherited from makVrf::DtBaseProcess
static DtFilename theDebugDrawColorsFilename
 

Detailed Description

Process responsible to draw feature information on screen.

Member Enumeration Documentation

steps in the image capture process

Enumerator
WAITING 
RECEIVED_REQUEST 
END_REQUEST 
SEND_RESPONSE 
END_SUCCESS 
END_ERROR 

Constructor & Destructor Documentation

makVrf::DtFeatureProcess::DtFeatureProcess ( makVrv::DtDe de,
DtFeatureRequest request 
)

CTOR/DTOR The constructor creates a copy of the feature request.

virtual makVrf::DtFeatureProcess::~DtFeatureProcess ( )
virtual

Member Function Documentation

virtual void makVrf::DtFeatureProcess::tick ( DtDebugDrawRendererDriver driver)
virtual

Tick (tick only once by message)

Implements makVrf::DtBaseProcess.

virtual bool makVrf::DtFeatureProcess::isDone ( )
virtual

returns true once the process reaches one of the END states

Implements makVrf::DtBaseProcess.

virtual void makVrf::DtFeatureProcess::beginRequest ( DtDebugDrawRendererDriver driver)
protectedvirtual

draw the triangles

virtual void makVrf::DtFeatureProcess::respondError ( std::string  errorMsg)
protectedvirtual

send an error response

virtual void makVrf::DtFeatureProcess::sendResponse ( )
protectedvirtual

send a response to the client (success or failure)

virtual void makVrf::DtFeatureProcess::drawLines ( const std::string &  name,
osg::ref_ptr< osg::Node >  transform 
)
protectedvirtual

create the lines in osg format

virtual void makVrf::DtFeatureProcess::initTransorm ( DtPoint origin,
osg::ref_ptr< osg::Node >  transform 
)
protectedvirtual

init the origin and the top transform

Member Data Documentation

ProcessStep makVrf::DtFeatureProcess::myProcessStep
protected

Process status.

DtFeatureRequest* makVrf::DtFeatureProcess::myRequest
protected

brief Message request

osg::ref_ptr<osg::MatrixTransform> makVrf::DtFeatureProcess::myTransform
protected

top transform

DtPoint makVrf::DtFeatureProcess::myOrigin
protected

origin


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)