VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowObjectHudDriver.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2020 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCore/DtDriver.h>
12 #include <vrvCore/DtAgentManager.h>
13 
14 #include <matrix/vlVector.h>
15 
16 namespace makVrv
17 {
18  class DtWindowEllipseAgent;
19  class DtPitchLadder;
20  class DtHeadingTape;
21  class DtObserver;
39  {
40  public:
43 
45  virtual ~DtWindowObjectHudDriver();
46 
48  virtual const std::string& className() const;
49  protected:
54  virtual bool onStart();
55 
57  virtual bool onStop();
58 
61  virtual bool onTick();
62 
64  DtWindowEllipseAgent* myCenterDot;
65 
68  };
69 }
70 
DtWindowObjectHudDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
A class for creating a heading tape on screen using DtWindowObjects. The heading tape displays the he...
Definition: DtHeadingTape.h:41
This driver is responsible for creating the DtWindowObject HUD. This example demonstrates an aircraft...
Definition: DtWindowObjectHudDriver.h:38
virtual bool onTick()
This updates the on screen objects with new observer information Including the horizon line...
DtHeadingTape * myHeadingTape
Definition: DtWindowObjectHudDriver.h:67
DtWindowEllipseAgent * myCenterDot
Center dot or cross hair located at (0.5,0.5) screen space.
Definition: DtWindowObjectHudDriver.h:64
Contains makVrv:DtAgentManager class.
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:30
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
A class for creating a pitch ladder on screen using DtWindowObject. The pitch ladder displays the cur...
Definition: DtPitchLadder.h:38
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
virtual const std::string & instanceName() const
Get this driver&#39;s instance name.
virtual bool onStop()
Called when the driver is stopped by the display engine.
virtual ~DtWindowObjectHudDriver()
Virtual DTOR.
DtPitchLadder * myPitchLadder
Definition: DtWindowObjectHudDriver.h:66
DtAgentManager & agentManager()
Get the master scene for this host. Do not create drivers using this agentManager, use the sceneInterface as it may replaced the implementation of the sceneInterface.
virtual const std::string & className() const
Get the class name as a string.

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)