VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
features
featureNavigator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
features/obstacleFeature.h
>
13
#include <
features/featureDuplicateRemover.h
>
14
15
namespace
MAKVRinTerra
16
{
17
class
DtSharedMemoryFeaturesDebugDrawer;
18
20
class
DT_DLL_features
DtFeatureNavigator
21
{
22
public
:
23
typedef
DtFeatureGeometry::Point
Point
;
24
typedef
DtFeatureGeometry::Path
Path
;
25
typedef
DtFeatureGeometry::Area
Area
;
26
27
typedef
DtFeatureGeometry::PointVector
PointVector
;
28
typedef
DtFeatureGeometry::GeometryVector
GeometryVector
;
29
30
typedef
DtGeometryDuplicateRemover
DuplicateRemover
;
31
typedef
boost::function<bool ()>
CancelCheckFunction
;
32
34
typedef
TaggedException<DtFeatureNavigator>
Exception
;
35
37
class
DT_DLL_features
Manager
38
{
39
public
:
40
Manager
();
41
43
virtual
bool
cancel()
const
;
44
46
virtual
DtSharedMemoryFeaturesDebugDrawer
* drawer()
const
;
47
49
virtual
void
debugMessage(std::string msg);
50
};
51
53
DtFeatureNavigator
(
const
DtObstacleFeatureSet
& obstacles);
54
57
DtFeatureNavigator
(
58
const
DtObstacleFeatureSet
& obstacles,
59
const
DtProj
& proj);
60
62
void
addObstacle(
const
DtObstacleFeature
& obstacle,
Manager
* mgr = 0);
63
64
void
processObstacles(
DtFeatureGeometry
obstacleArea,
Manager
* mgr = 0);
65
66
DtFeatureGeometry::Path
makePath(
Path
inputPath,
Manager
* mgr = 0);
67
68
private
:
69
boost::scoped_ptr<DtObstacleFeatureSet>
myObstacles
;
70
DuplicateRemover
myDuplicateRemover
;
71
DtProj::CPtr
myProjection
;
72
DtFeatureGeometry
myPagedInArea
;
73
GeometryVector
myAreas
;
74
DtFeatureGeometry
myGeometry
;
75
};
76
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)