VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBoxUpdater.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>
14 #include <matrix/vlTaitBryan.h>
15 
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
25  {
26  public:
29 
31  virtual ~DtBoxUpdater();
32 
34  virtual void update( double simTime );
35 
37  virtual void setClamped(bool);
38 
39  protected:
40  virtual bool computeGroundClampingHit(const DtVector& up,
41  const DtVector& unclampedPosition, DtVector& hitLocation, DtVector& hitNormal);
42 
44  virtual DtTaitBryan computeOrientation( const DtVector& pos, double topoHeading) const;
45 
48  virtual void setOutputPosition( const DtVector& position );
49 
50  protected:
52  DtTaitBryan myOrientation;
53  bool myClamped;
55  };
56 }
57 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)