VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pathPlanner.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
10 
11 #pragma once
12 
14 
15 #include <features/aStarGraph.h>
17 
19 
20 class DtTerrainInterface;
21 
22 namespace MAKVRinTerra
23 {
24  class DT_DLL_features DtPathPlanner : boost::noncopyable
25  {
26  public:
29 
30  explicit DtPathPlanner(const DtProj&);
31 
32  struct PathSegment
33  {
35  double distance;
36 
37  explicit PathSegment(const PathVertex& vertex, const PathSegment& rest);
38 
39  explicit PathSegment(const PathVertex& path);
40 
41  explicit PathSegment();
42  };
43 
44  PathSegment insertNavigationPaths(
46  const DtAreaFeatureSet&,
47  size_t numSkip = 0,
49 
50  PathSegment insertNavigationPaths(
52  const DtAreaFeatureSet&,
53  const DtAlgorithmManager&);
54 
55  PathVertex::List planPath(
58  const DtAreaFeatureSet&,
59  DtAStarGraph&,
61 
62  PathVertex::List planPath(
65  const DtTerrainInterface&,
66  const std::string& obstacleQuery,
67  const std::string& graphQuery,
68  const DtAlgorithmManager& mgr = DtAlgorithmManager());
69 
70  protected:
72  };
73 }
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:101
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
std::list< PathVertex > List
Definition: aStarGraph.h:122
Vertex data passed back from makePath. location is the location of the current vertex in local coordi...
Definition: aStarGraph.h:120
Definition: aStarGraph.h:79
Definition: pathPlanner.h:32
DtAStarGraph::MultiPathVertex MultiPathVertex
Definition: pathPlanner.h:28
Handle< PointType > Point
Definition: featureGeometry.h:69
Represents some coordinate system. The terms &quot;coordinate system&quot;, &quot;projection&quot;, &quot;spatial reference&quot;...
Definition: proj.h:44
A MultiPathVertex is a PathVertex with a list of next vertices.
Definition: aStarGraph.h:137
boost::shared_ptr< const DtProj > CPtr
Definition: proj.h:48
DtTerrainInterface allows access to common terrain calls without having to know the terrain implement...
Definition: terrainInterface.h:99
Definition: pathPlanner.h:24
double distance
Definition: pathPlanner.h:35
PathVertex::List path
Definition: pathPlanner.h:34
DtAStarGraph::PathVertex PathVertex
Definition: pathPlanner.h:27
const DtProj::CPtr myLocalProj
Definition: pathPlanner.h:71
General interface which can be passed into an algorithm to control its behavior.
Definition: algorithmManager.h:24
char * dest
Definition: lz4.h:440

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)