VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBulletHoleUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "exampleBulletHole.h"
13 #include <vrvCore/DtDe.h>
14 #include <vrvCore/DtIntersector.h>
16 
17 #include <string>
18 
19 #include <matrix/vlVector.h>
20 #include <matrix/vlTaitBryan.h>
21 
22 namespace makVrv
23 {
24  class DtIntersector;
25 
31  {
32  public:
33 
36 
38  virtual ~DtBulletHoleUpdater();
39 
41  virtual void update( double simTime );
42 
45  virtual void setEnabled(bool enabled);
46 
48  virtual void setBulletEnd(const DtVector& end);
49 
51  virtual void setBulletSource(DtUniqueID sourceId);
52 
53  protected:
55  DtVector myEnd;
56  bool myDirty;
57 
58  DtIntersector* myIntersector = nullptr;
59  };
60 }
DtBulletHoleUpdater is an updater that is given a position and orientation, and depending on how it i...
Definition: DtBulletHoleUpdater.h:30
DtIntersector is an abstract class that provides the interface for requesting intersections with the ...
Definition: DtIntersector.h:25
Scene Object Updater.
Definition: DtSceneObjectUpdater.h:40
DtUniqueID mySource
Definition: DtBulletHoleUpdater.h:54
Contains makVrv::DtDe class.
Contains the declaration for makVrv::DtSceneObjectUpdater.
#define DT_DLL_EXAMPLEBULLETHOLE
Definition: exampleBulletHole.h:18
Contains makVrv:DtIntersector class.
DtVector myEnd
Definition: DtBulletHoleUpdater.h:55
Contains DLL export macros.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
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
bool myDirty
Definition: DtBulletHoleUpdater.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)