VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLaserDesignatorUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <vrvCore/DtDe.h>
15 #include <vrvCore/DtIntersector.h>
17 
18 #include <string>
19 
20 namespace makVrv
21 {
27  {
28  public:
29 
32 
34  virtual ~DtLaserDesignatorUpdater();
35 
37  virtual void update( double simTime );
38 
41  virtual void setEnabled(bool enabled);
42 
45  virtual void setSpotLocation(const DtVector& end);
46 
49  // created the model that this updater updates
50  virtual void setDesignator(DtUniqueID sourceId);
51 
56  virtual void setDesignatedObject(DtUniqueID designee);
57 
58  protected:
59  // If a scene object is found for the designee it comes back in designeeSceneObject
60  virtual DtVector updateLocation(double simTime, DtSceneObject*& designeeSceneObject);
61  virtual DtTaitBryan updateOrientation(double simTime, DtSceneObject* designeeSceneObject);
62 
63  protected:
67  bool myDirty;
68  };
69 }
Scene Object Updater.
Definition: DtSceneObjectUpdater.h:36
Contains makVrv::DtDe class.
DtVector mySpotLocation
Definition: DtLaserDesignatorUpdater.h:66
bool myDirty
Definition: DtLaserDesignatorUpdater.h:67
DtUniqueID mySource
Definition: DtLaserDesignatorUpdater.h:64
Contains the declaration for makVrv::DtSceneObjectUpdater.
Contains makVrv:DtIntersector, makVrv:DtIntersectorLineSegment, and makVrv:DtIntersectorResult classe...
DtUniqueID myDesignatedObject
Definition: DtLaserDesignatorUpdater.h:65
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:41
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtLaserDesignatorUpdater is an updater that is given a position and orientation, and depending on how...
Definition: DtLaserDesignatorUpdater.h:26
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)