VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtAttachableIntervisibilityUpdater.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 
13 
14 #include <vrvCore/DtIntersector.h>
15 
16 namespace makVrv
17 {
23  {
24  public:
25 
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 
58  virtual DtVector fixedDistanceFrom( const DtVector& start, const DtVector& end,
59  double heading, double distance ) const;
60 
62  virtual double calculateHeading( const DtVector& start,
63  const DtVector& end ) const;
64 
66  virtual DtVector clamp( const DtVector& pt ) const;
67 
68  protected:
69 
71  {
76  };
77 
79 
83  };
84 }
85 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)