VR-Forces 4.1.1 Class Documentation
DtAttachableIntervisibilityUpdater.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 
13 
14 #include <vrvCore/DtIntersector.h>
15 
16 namespace makVrv
17 {
23  {
24  public:
25 
27  DtAttachableIntervisibilityUpdater( DtDe& de, DtElementID id, bool suppressTick = false );
28 
31 
35  virtual void setFixedDistance( bool );
36 
37  protected:
38 
41  virtual void update( DtTime tNow );
42 
44  virtual bool doIntersection();
45 
46  // Updates the sceneObject with inter-visibility information
47  virtual void updateSceneObject( DtTime tNow );
48 
50  virtual double calculateDistance( const DtVector& start,
51  const DtVector& end, DtVector* circleOrigin = 0 ) const;
52 
54  virtual void calculateFixedDistance();
55 
57  virtual DtVector fixedDistanceFrom( const DtVector& start, const DtVector& end,
58  double heading, double distance ) const;
59 
61  virtual double calculateHeading( const DtVector& start,
62  const DtVector& end ) const;
63 
64  protected:
65 
67  {
72  };
73 
75 
79  };
80 }
81 

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)