VR-Forces 4.7 Class Documentation
 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 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)