VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
DtSharedMemoryFeaturesDebugDrawer;
25
26
class
DT_DLL_features
DtPathPlanner
: boost::noncopyable
27
{
28
public
:
29
typedef
DtAStarGraph::PathVertex
PathVertex
;
30
typedef
DtAStarGraph::MultiPathVertex
MultiPathVertex
;
31
32
explicit
DtPathPlanner
(
const
DtProj
&);
33
34
struct
PathSegment
35
{
36
PathVertex::List
path
;
37
double
distance
;
38
39
explicit
PathSegment
(
const
PathVertex
& vertex,
const
PathSegment
& rest);
40
41
explicit
PathSegment
(
const
PathVertex
& path);
42
43
explicit
PathSegment
();
44
};
45
46
PathSegment
insertNavigationPaths(
47
DtAStarGraph::MultiPathVertex
& path,
48
const
DtAreaFeatureSet
&,
49
size_t
numSkip = 0,
50
const
DtAlgorithmManager
& =
DtAlgorithmManager
());
51
52
PathSegment
insertNavigationPaths(
53
DtAStarGraph::MultiPathVertex
& path,
54
const
DtAreaFeatureSet
&,
55
const
DtAlgorithmManager
&);
56
57
PathVertex::List
planPath(
58
DtFeatureGeometry::Point
start,
59
DtFeatureGeometry::Point
dest,
60
const
DtAreaFeatureSet
&,
61
DtAStarGraph
&,
62
const
DtAlgorithmManager
& =
DtAlgorithmManager
());
63
64
PathVertex::List
planPath(
65
DtFeatureGeometry::Point
start,
66
DtFeatureGeometry::Point
dest,
67
const
DtTerrainInterface
&,
68
const
std::string& obstacleQuery,
69
const
std::string& graphQuery,
70
const
DtAlgorithmManager
& mgr =
DtAlgorithmManager
());
71
72
protected
:
73
const
DtProj::CPtr
myLocalProj
;
74
};
75
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)