VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHeadingLineUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
12 #include <vrvCore/DtDe.h>
13 #include <vrvCore/DtIntersector.h>
14 #include <vrvCore/DtTickable.h>
15 #include <vrvCore/DtUniqueID.h>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtOverlayDirectionLineModel;
22  class DtSceneObject;
23 
28  public DtTickable
29  {
30  public:
31 
34 
36  virtual ~DtHeadingLineUpdater();
37 
39  virtual void update( DtTime tNow );
40 
47  virtual bool needsUpdate( DtTime tNow );
48 
50  virtual void setSceneObject( DtSceneObject* sceneObject);
51 
54  virtual void attachDirectionLineModel(DtUniqueID id);
55 
56  protected:
58  virtual void slot_sceneObjectDeleted(DtUniqueID id);
59 
60  protected:
63 
66 
69 
72 
76 
79 
82  };
83 }
Contains makVrv::DtDe class.
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
DtTime myLastUpdateTime
The last time update was called.
Definition: DtHeadingLineUpdater.h:78
DtSignalConnectionManager mySignals
Signal manager to auto disconnect boost signals.
Definition: DtHeadingLineUpdater.h:81
DtDe & myDe
The display engine.
Definition: DtHeadingLineUpdater.h:62
DtHeadingLineUpdater updates symbol decorations with distributed side data.
Definition: DtHeadingLineUpdater.h:27
Contains makVrv:DtIntersector class.
double myLastSymbolUpdateTime
The last time the symbols were updated; used to slow down updating if once per frame is undesirable...
Definition: DtHeadingLineUpdater.h:75
DtUniqueID myUniqueId
This distributed object&#39;s unique identifier.
Definition: DtHeadingLineUpdater.h:65
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtOverlayDirectionLineModel * myLineModel
The model to update.
Definition: DtHeadingLineUpdater.h:71
DtSceneObject * mySceneObject
A pointer to the current scene object.
Definition: DtHeadingLineUpdater.h:68
Base class to provide boost signal/slot management.
Contains the declaration for makVrv::DtTickable.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
Contains makVrv::DtUniqueID type.
DtOverlayDirectionLineModel defines an abstract base class that all direction line models must implem...
Definition: DtOverlayDirectionLineModel.h:26
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:70
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)