VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
IntersectionInformation myIntersectionInformation
Definition: DtAttachableIntervisibilityUpdater.h:78
double myFixedDistance
Definition: DtAttachableIntervisibilityUpdater.h:81
Descriptor for a single intersection result.
Definition: DtIntersector.h:33
bool intersection
Definition: DtAttachableIntervisibilityUpdater.h:72
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
Contains makVrv:DtIntersector, makVrv:DtIntersectorLineSegment, and makVrv:DtIntersectorResult classe...
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtIntersectorResult result
Definition: DtAttachableIntervisibilityUpdater.h:75
double myFixedHeading
Definition: DtAttachableIntervisibilityUpdater.h:82
DtVector startPoint
Definition: DtAttachableIntervisibilityUpdater.h:73
DtVector endPoint
Definition: DtAttachableIntervisibilityUpdater.h:74
Contains the DtLineModelUpdater class declaration.
bool myFixDistance
Definition: DtAttachableIntervisibilityUpdater.h:80
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Base class for updaters updating segmented line models Contains methods and information struct for wo...
Definition: DtLineModelUpdater.h:22
Class which will keep track of Intervisibility between an origin and an end point.
Definition: DtAttachableIntervisibilityUpdater.h:22
Definition: DtAttachableIntervisibilityUpdater.h:70

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)