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>
13 #include <matrix/vlVector.h>
14 #include <matrix/vlTaitBryan.h>
15 
16 
17 
18 namespace makVrv
19 {
20  class DtSceneObject;
21 }
22 
23 namespace makVrf
24 {
26  {
27  public:
28 
31 
34 
36  virtual void addTrackHistoryPosition(const DtVector&, const DtTaitBryan&);
37 
38  virtual void setSceneObject(makVrv::DtSceneObject*);
39 
40  virtual void setMaxSegments(int);
41  virtual void removePoints(int);
42  virtual void resetRibbonLength(int);
43  virtual void setRibbonLength(int);
44 
45  protected:
47  virtual void update( DtTime tNow );
48 
50  virtual bool needsUpdate( DtTime tNow );
51 
54  virtual void attachRibbonModel(makVrv::DtUniqueID id);
55 
56  virtual void slot_sceneObjectToBeDeleted( const makVrv::DtUniqueID& id );
57 
58  virtual void setupPoints();
59 
60  protected:
61  typedef std::vector<std::pair<DtVector, DtTaitBryan> > PointInformation;
64 
65  bool myFirstAdd;
68 
72  boost::signals2::connection mySceneObjectConnection;
73  };
74 }
int myMaxSegments
Definition: spotReportTrackHistoryUpdater.h:67
Definition: spotReportTrackHistoryUpdater.h:25
DtTrackHistoryUpdater updates a track history model with the current position of the scene object it&#39;...
Definition: DtTrackHistoryUpdater.h:27
makVrv::DtSceneObject * mySceneObject
Definition: spotReportTrackHistoryUpdater.h:63
PointInformation myPointsToAdd
Definition: spotReportTrackHistoryUpdater.h:62
#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:72
PointInformation myPoints
Definition: spotReportTrackHistoryUpdater.h:66
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtTrackHistoryUpdater class.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:44
bool myFirstAdd
Definition: spotReportTrackHistoryUpdater.h:65
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:72
std::vector< std::pair< DtVector, DtTaitBryan > > PointInformation
Definition: spotReportTrackHistoryUpdater.h:61

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)