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
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
{
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
DtFeatureNavigator
(
const
DtAreaFeatureSet
& obstacles);
35
38
DtFeatureNavigator
(
39
const
DtAreaFeatureSet
& obstacles,
40
const
DtProj
& proj);
41
43
virtual
void
addObstacle(
const
DtAreaFeature
& obstacle);
44
virtual
void
addObstacle(
const
DtAreaFeature
& obstacle,
const
DtAlgorithmManager
* mgr);
45
46
virtual
bool
processObstacles(
DtFeatureGeometry
obstacleArea);
47
virtual
bool
processObstacles(
DtFeatureGeometry
obstacleArea,
const
DtAlgorithmManager
& mgr);
48
49
virtual
DtFeatureGeometry::Path
makePath(
Path
inputPath);
50
virtual
DtFeatureGeometry::Path
makePath(
Path
inputPath,
const
DtAlgorithmManager
& mgr);
51
52
virtual
void
setFailIfStartInObstacle(
bool
v);
53
54
protected
:
55
boost::scoped_ptr<DtAreaFeatureSet>
myObstacles
;
56
DuplicateRemover
myDuplicateRemover
;
57
DtProj::CPtr
myProjection
;
58
DtFeatureGeometry
myPagedInArea
;
59
GeometryVector
myAreas
;
60
DtFeatureGeometry
myGeometry
;
61
bool
myFailIfStartsInObstacle
;
62
};
63
}
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
)