VR-Forces 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 
14 
15 #pragma once
16 
18 
19 #include <features/aStarGraph.h>
21 
23 
24 class DtTerrainInterface;
25 
26 namespace MAKVRinTerra
27 {
28  class DT_DLL_features DtPathPlanner : boost::noncopyable
29  {
30  public:
33 
34  explicit DtPathPlanner(const DtProj&);
35 
37  struct PathSegment
38  {
40  double length;
41 
43  explicit PathSegment(const PathVertex& vertex, const PathSegment& rest);
44 
46  explicit PathSegment(const PathVertex& vertex);
47 
49  explicit PathSegment();
50  };
51 
57  PathSegment insertNavigationPaths(
58  DtAStarGraph::MultiPathVertex& firstVertexInPath,
59  const DtAreaFeatureSet& obstacles,
60  size_t frontEdgesToSkip = 0,
62 
63  PathSegment insertNavigationPaths(
65  const DtAreaFeatureSet& obstacles,
66  const DtAlgorithmManager&);
67 
70  PathVertex::List planPath(
73  const DtAreaFeatureSet&,
74  DtAStarGraph&,
76 
83  PathVertex::List planPath(
86  const DtAreaFeatureSet&,
87  DtAStarGraph&,
88  DtAStarGraph::DtWeightFactorsList& weightFactors,
89  const double offRoadPathWeight,
91 
94  PathVertex::List planPath(
97  const DtTerrainInterface&,
98  const std::string& obstacleQuery,
99  const std::string& graphQuery,
100  const DtAlgorithmManager& mgr = DtAlgorithmManager());
101 
102  protected:
104  };
105 }
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:105
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
std::shared_ptr< const DtProj > CPtr
Definition: proj.h:56
std::list< PathVertex > List
Definition: aStarGraph.h:134
Vertex data passed back from makePath. location is the location of the current vertex in local coordi...
Definition: aStarGraph.h:132
double length
Definition: pathPlanner.h:40
Definition: aStarGraph.h:86
A (subset of) a path, i.e. a list of vertices.
Definition: pathPlanner.h:37
DtAStarGraph::MultiPathVertex MultiPathVertex
Definition: pathPlanner.h:32
std::list< DtWeightFactor > DtWeightFactorsList
Definition: aStarGraph.h:229
Handle< PointType > Point
Definition: featureGeometry.h:70
Represents some coordinate system. The terms &quot;coordinate system&quot;, &quot;projection&quot;, &quot;spatial reference&quot;...
Definition: proj.h:52
A MultiPathVertex is a PathVertex with a list of next vertices. (dreece: This seems to be a branching...
Definition: aStarGraph.h:157
DtTerrainInterface allows access to common terrain calls without having to know the terrain implement...
Definition: terrainInterface.h:93
Definition: pathPlanner.h:28
PathVertex::List path
Definition: pathPlanner.h:39
DtAStarGraph::PathVertex PathVertex
Definition: pathPlanner.h:31
const DtProj::CPtr myLocalProj
Definition: pathPlanner.h:103
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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)