VR-Forces 5.0.3 Developer's Guide
 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.

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

Public Member Functions

 DtFeatureProcess (makVrv::DtDe &de, DtFeatureRequest *request)
 
virtual ~DtFeatureProcess ()
 
virtual void tick (DtDebugDrawRendererDriver *driver)
 
virtual bool isDone ()
 
- Public Member Functions inherited from makVrf::DtBaseProcess
 DtBaseProcess (makVrv::DtDe &de)
 
virtual ~DtBaseProcess ()
 
virtual DtBaseMessageresponse ()
 

Protected Types

enum  ProcessStep {
  WAITING, RECEIVED_REQUEST, END_REQUEST, SEND_RESPONSE,
  END_SUCCESS, END_ERROR
}
 

Protected Member Functions

virtual void beginRequest (DtDebugDrawRendererDriver *driver)
 
virtual void respondError (std::string errorMsg)
 
virtual void sendResponse ()
 
virtual void drawLines (const std::string &name, osg::ref_ptr< osg::Node > transform)
 
virtual void drawAreals (const std::string &name, osg::ref_ptr< osg::Node > transform)
 
virtual void initTransorm (DtPoint &origin, osg::ref_ptr< osg::Node > transform)
 
- Protected Member Functions inherited from makVrf::DtBaseProcess
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)
 

Protected Attributes

ProcessStep myProcessStep
 
DtFeatureRequestmyRequest
 
osg::ref_ptr
< osg::MatrixTransform > 
myTransform
 
DtPoint myOrigin
 
- Protected Attributes inherited from makVrf::DtBaseProcess
DtDebugDrawColorsmyDebugDrawColors
 
makVrv::DtDemyDe
 
DtBaseMessagemyResponse
 

Additional Inherited Members

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

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::drawAreals ( 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 Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)