VR-Forces 4.1.1 Class Documentation
DtBoxUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 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 {
20  class DtProjectedWidgetModel;
21  class DtOverlayPolygonModel;
22  class DtChannel;
23 
27  {
28  public:
30  DtBoxUpdater(makVrv::DtDe& de, makVrv::DtUniqueID id, bool suppressTick = false );
31 
33  virtual ~DtBoxUpdater();
34 
36  virtual void update( double simTime );
37 
39  virtual void setClamped(bool);
40 
41  protected:
42  virtual bool computeGroundClampingHit(const DtVector& up,
43  const DtVector& unclampedPosition, DtVector& hitLocation, DtVector& hitNormal);
44 
46  virtual DtTaitBryan computeOrientation( const DtVector& pos, double topoHeading) const;
47 
48  protected:
50  bool myClamped;
51  };
52 }
53 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)