VR-Forces 4.8 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) 2019 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 
52  virtual void setOutputPositionAndOrientation(const DtVector& position, const DtTaitBryan& orientation);
53 
54  protected:
56  DtTaitBryan myOrientation;
57  bool myClamped;
59  };
60 }
61 
Scene Object Updater.
Definition: DtSceneObjectUpdater.h:36
Contains the declaration for makVrv::DtSceneObjectUpdater.
DtTaitBryan myOrientation
Definition: DtBoxUpdater.h:56
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myClamped
Definition: DtBoxUpdater.h:57
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
DtVector myClampedOrigin
Definition: DtBoxUpdater.h:55
bool myOrientationCalculated
Definition: DtBoxUpdater.h:58
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtBoxUpdater is an update makes sure points for a box conform to that of a box and will update them i...
Definition: DtBoxUpdater.h:24
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)