VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEllipseUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 
13 #include <vrvCore/vrvCore.h>
14 #include <vrvCore/DtSceneObject.h>
15 #include <vrvCore/DtTickable.h>
16 #include <vrvCore/DtUniqueID.h>
17 #include <matrix/vlTaitBryan.h>
18 
19 #include <matrix/vlVector.h>
20 
21 namespace makVrv
22 {
27  {
28  public:
29 
32 
34  virtual ~DtEllipseUpdater();
35 
37  virtual void update( double simTime );
38 
39  virtual void setOrientationDelta(double);
40 
42  virtual void setClamped(bool);
43 
46  virtual void setPosition(int, const DtVector&);
47 
50  virtual void setSceneObject( DtSceneObject* sceneObject );
51 
58  virtual bool needsUpdate( DtTime tNow );
59 
63  virtual void setUpdaterPosition( int vtx, const DtVector& pos );
64 
68  virtual void setUpdaterOrientation( int vtx, const DtTaitBryan& ori );
69 
70  protected:
71 
72  virtual bool computeGroundClampingHit(const DtVector& up,
73  const DtVector& unclampedPosition, DtVector& hitLocation, DtVector& hitNormal);
74 
76  virtual DtTaitBryan computeOrientation( const DtVector& pos,
77  double topoHeading) const;
78 
81  virtual void slot_sceneObjectToBeDeleted( const DtUniqueID& id );
83 
84  private:
90  DtSceneObject::ObjectTransform& getOrCreateTransform( int vtx );
91 
92  protected:
95 
97 
99  bool myClamped;
100 
103 
106 
109 
115 
117 
118  };
119 }
120 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)