VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtProjectile.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 
11 #include <vrvCore/DtUniqueID.h>
12 
13 #include <matrix/vlVector.h>
14 #include <matrix/vlTaitBryan.h>
15 
16 #include <boost/unordered_map.hpp>
17 #include <boost/function.hpp>
18 
19 #include <string>
20 
21 // Use the VR-Vantage namespace.
22 // All classes in VR-Vantage are in this namespace.
23 
24 namespace makVrv
25 {
26  class DtEntity3dFacade;
27  class DtDe;
28  class DtIntersectorResult;
29 
31  {
32  public:
33 
34  typedef boost::function<void ( const DtIntersectorResult&, double )> IntersectionCallback;
35 
36  public:
37 
38 
39  DtProjectile(DtDe& de, const DtVector& start, const DtTaitBryan& orientation, double speed,
40  const DtVector& direction, const std::string& modelDefinitionName,
42 
43  virtual ~DtProjectile();
44 
45  bool tick( double simTime );
46 
47  DtElementID id() const;
48 
49  protected:
50  virtual DtTaitBryan orientationFromOldAndNewPositions(const DtVector& oldPos, const DtVector& newPos );
51 
52  protected:
55  DtTaitBryan myOrientation;
58 
63  };
64 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)