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 <vlutil/vlPrint.h>
16 
17 class DtDebugDrawColors;
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtVideoFrameBuffer;
23 }
24 
25 namespace makVrf
26 {
27  class DtBaseMessage;
29 
33  {
34  public:
37 
38  virtual ~DtBaseProcess();
39 
41  virtual void tick(DtDebugDrawRendererDriver* driver) = 0;
42 
43  virtual bool isDone() = 0;
44 
46  virtual DtBaseMessage* response();
47 
48  protected:
49 
50  static DtFilename theDebugDrawColorsFilename;
51 
54 
56  virtual void roughnessSoilTypeColor(DtRoughnessSoilType type,
57  float& r, float& g, float& b, float& a);
58 
60  virtual void soilTypeColor(DtSoilType type,
61  float& r, float& g, float& b, float& a);
62 
64  virtual void navMeshTypeColor(DtString type,
65  float& r, float& g, float& b, float& a);
66 
68  virtual void error(float& r, float& g, float& b, float& a);
69 
71 
73  };
74 
78  {
79  public:
80 
82  virtual ~DtBaseProcessCreator();
83 
85  virtual DtBaseProcess* create(DtBaseMessage* message) = 0;
86  };
87 
88 }
89 
90 
DtBaseMessage * myResponse
Definition: baseProcess.h:72
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:70
DtBaseProcess is the base class for all messages processes that can be sent between the server and th...
Definition: baseProcess.h:32
static DtFilename theDebugDrawColorsFilename
Definition: baseProcess.h:50
base class for all process creators, interface used to create classes that can be passed to the Proce...
Definition: baseProcess.h:77
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:53
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
DtRoughnessSoilType
Definition: surface.h:75

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)