VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
features
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
13
#include <
features/featuresDefines.h
>
14
15
#include <
features/aStarGraph.h
>
16
#include <
features/featureNavigator.h
>
17
18
#include <
vrfutil/algorithmManager.h
>
19
20
class
DtTerrainInterface
;
21
22
namespace
MAKVRinTerra
23
{
24
class
DT_DLL_features
DtPathPlanner
: boost::noncopyable
25
{
26
public
:
27
typedef
DtAStarGraph::PathVertex
PathVertex
;
28
typedef
DtAStarGraph::MultiPathVertex
MultiPathVertex
;
29
30
explicit
DtPathPlanner
(
const
DtProj
&);
31
32
struct
PathSegment
33
{
34
PathVertex::List
path
;
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(
45
DtAStarGraph::MultiPathVertex
& path,
46
const
DtAreaFeatureSet
&,
47
size_t
numSkip = 0,
48
const
DtAlgorithmManager
& =
DtAlgorithmManager
());
49
50
PathSegment
insertNavigationPaths(
51
DtAStarGraph::MultiPathVertex
& path,
52
const
DtAreaFeatureSet
&,
53
const
DtAlgorithmManager
&);
54
55
PathVertex::List
planPath(
56
DtFeatureGeometry::Point
start,
57
DtFeatureGeometry::Point
dest,
58
const
DtAreaFeatureSet
&,
59
DtAStarGraph
&,
60
const
DtAlgorithmManager
& =
DtAlgorithmManager
());
61
62
PathVertex::List
planPath(
63
DtFeatureGeometry::Point
start,
64
DtFeatureGeometry::Point
dest,
65
const
DtTerrainInterface
&,
66
const
std::string& obstacleQuery,
67
const
std::string& graphQuery,
68
const
DtAlgorithmManager
& mgr =
DtAlgorithmManager
());
69
70
protected
:
71
const
DtProj::CPtr
myLocalProj
;
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
)