VR-Forces 4.6 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
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/areaFeature.h
>
13
#include <
features/geometryDuplicateRemover.h
>
14
15
#include <
vrfutil/algorithmManager.h
>
16
17
namespace
MAKVRinTerra
18
{
19
class
DtSharedMemoryFeaturesDebugDrawer;
20
22
class
DT_DLL_features
DtFeatureNavigator
23
{
24
public
:
25
typedef
DtFeatureGeometry::Point
Point
;
26
typedef
DtFeatureGeometry::Path
Path
;
27
typedef
DtFeatureGeometry::Area
Area
;
28
29
typedef
DtFeatureGeometry::PointVector
PointVector
;
30
typedef
DtFeatureGeometry::GeometryVector
GeometryVector
;
31
32
typedef
DtGeometryDuplicateRemover
DuplicateRemover
;
33
typedef
boost::function<bool ()>
CancelCheckFunction
;
34
36
DtFeatureNavigator
(
const
DtAreaFeatureSet
& obstacles);
37
40
DtFeatureNavigator
(
41
const
DtAreaFeatureSet
& obstacles,
42
const
DtProj
& proj);
43
45
virtual
void
addObstacle(
const
DtAreaFeature
& obstacle);
46
virtual
void
addObstacle(
const
DtAreaFeature
& obstacle,
const
DtAlgorithmManager
* mgr);
47
48
virtual
bool
processObstacles(
DtFeatureGeometry
obstacleArea);
49
virtual
bool
processObstacles(
DtFeatureGeometry
obstacleArea,
const
DtAlgorithmManager
& mgr);
50
51
virtual
DtFeatureGeometry::Path
makePath(
Path
inputPath);
52
virtual
DtFeatureGeometry::Path
makePath(
Path
inputPath,
const
DtAlgorithmManager
& mgr);
53
54
virtual
void
setFailIfStartInObstacle(
bool
v);
55
56
protected
:
57
boost::scoped_ptr<DtAreaFeatureSet>
myObstacles
;
58
DuplicateRemover
myDuplicateRemover
;
59
DtProj::CPtr
myProjection
;
60
DtFeatureGeometry
myPagedInArea
;
61
GeometryVector
myAreas
;
62
DtFeatureGeometry
myGeometry
;
63
bool
myFailIfStartsInObstacle
;
64
};
65
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)