VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
baseProcess.h
Go to the documentation of this file.
1 
9 #pragma once
10 
12 #include <osg/Geometry>
13 #include <geometry/point.h>
14 #include <geometry/surface.h>
15 #include <matrix/vlVector.h>
16 #include <vlutil/vlPrint.h>
17 
18 class DtDebugDrawColors;
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtVideoFrameBuffer;
24 }
25 
26 namespace makVrf
27 {
28  class DtBaseMessage;
30 
34  {
35  public:
38 
39  virtual ~DtBaseProcess();
40 
42  virtual void tick(DtDebugDrawRendererDriver* driver) = 0;
43 
44  virtual bool isDone() = 0;
45 
47  virtual DtBaseMessage* response();
48 
49  protected:
50 
51  static DtFilename theDebugDrawColorsFilename;
52 
55 
57  virtual void roughnessSoilTypeColor(DtRoughnessSoilType type,
58  float& r, float& g, float& b, float& a);
59 
61  virtual void soilTypeColor(DtSoilType type,
62  float& r, float& g, float& b, float& a);
63 
65  virtual void navMeshTypeColor(DtString type,
66  float& r, float& g, float& b, float& a);
67 
69  virtual void error(float& r, float& g, float& b, float& a);
70 
79  DtPoint geocentricToDatabase(const DtPoint& geocentric) const;
80  void geocentricToDatabase(DtVector& point) const;
82 
84 
86  };
87 
91  {
92  public:
93 
95  virtual ~DtBaseProcessCreator();
96 
98  virtual DtBaseProcess* create(DtBaseMessage* message) = 0;
99  };
100 
101 }
102 
103 
DtBaseMessage * myResponse
Definition: baseProcess.h:85
DtBaseMessage is the base class for all messages that can be sent between the server and the client...
Definition: vrfMessage.h:25
makVrv::DtDe & myDe
Definition: baseProcess.h:83
DtBaseProcess is the base class for all messages processes that can be sent between the server and th...
Definition: baseProcess.h:33
static DtFilename theDebugDrawColorsFilename
Definition: baseProcess.h:51
base class for all process creators, interface used to create classes that can be passed to the Proce...
Definition: baseProcess.h:90
Definition: asyncJobServer.h:39
DtDebugDrawRenderer is the main class that controls the processing flow of the DebugDrawRenderer. Users should not need to create this class.
Definition: debugDrawRendererDriver.h:33
#define DT_DLL_DEBUGDRAWRENDERER
Definition: debugDrawRendererExport.h:19
DtDebugDrawColors * myDebugDrawColors
Colors from the csv file.
Definition: baseProcess.h:54
This class will read ammunition, entity, weapons and assemblies and provide information about them...
Definition: debugDrawColors.h:16
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtSoilType
Definition: surface.h:21
The image as initially captured from the camera is placed into a DtVideoFrameBuffer. Instances of DtVideoFrameBuffer are placed on a queue for further processing by the process image task elements.
Definition: DtVideoFrameBuffer.h:20
Definition: point.h:34
DtRoughnessSoilType
Definition: surface.h:75

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)