VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spotReportTrackHistoryUpdater.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2017 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrfGuiCore/vrfGuiCore.h>
12 #include <vrvCore/DtTickable.h>
13 #include <matrix/vlVector.h>
14 #include <matrix/vlTaitBryan.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 
18 namespace makVrv
19 {
20  class DtSceneObject;
21  class DtOverlaySegmentedLineModel;
22 }
23 
24 namespace makVrf
25 {
27  {
28  public:
29 
32 
34  virtual ~DtSpotReportTrackHistoryUpdater() override;
35 
37  virtual void addTrackHistoryPosition(const DtVector&, const DtTaitBryan&);
38 
39  virtual void setSceneObject(makVrv::DtSceneObject*);
40 
41  virtual void removePoints(int);
42  virtual void setRibbonLength(int);
43 
44  protected:
46  virtual void update(DtTime tNow) override;
47 
49  virtual bool needsUpdate(DtTime tNow) override;
50 
51  virtual void slot_sceneObjectToBeDeleted( const makVrv::DtUniqueID& id );
52 
53  virtual void setupPoints();
54 
55  protected:
56  typedef std::vector<std::pair<DtVector, DtTaitBryan> > PointInformation;
57  makVrv::DtSceneObject* mySceneObject = nullptr;
58 
60  int myMaxSegments = -1;
61 
65  boost::signals2::connection mySceneObjectConnection;
66 
68  makVrv::DtUniqueID myUniqueId = 0;
69  };
70 }
makVrv::DtDe & myDe
Definition: spotReportTrackHistoryUpdater.h:67
Definition: spotReportTrackHistoryUpdater.h:26
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
boost::signals2::connection mySceneObjectConnection
When the class is destructed, the scene object may or may not exist. Using a separate connection va...
Definition: spotReportTrackHistoryUpdater.h:65
PointInformation myPoints
Definition: spotReportTrackHistoryUpdater.h:59
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
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:44
Contains makVrv::DtUniqueID type.
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
std::vector< std::pair< DtVector, DtTaitBryan > > PointInformation
Definition: spotReportTrackHistoryUpdater.h:56

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)