VR-Forces 4.5 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
vrfNavigation
navGeneration.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfNavigation/vrfNavigationDefines.h
"
12
13
#include "
terrainInterface/terrainProcessPolygonsBox.h
"
14
15
#include "matrix/vlVector.h"
16
17
#include <string>
18
#include <list>
19
20
class
DtRwNavigationProfile
;
21
class
DtRwNavigationProfileList
;
22
class
DtNavigationGeneratorInput
;
23
24
//typedef std::vector<unsigned long> DtNavTagData;
25
struct
DT_DLL_vrfNavigation
DtNavTagColor
26
{
27
DtNavTagColor
() : red(0), green(0), blue(0) {};
28
unsigned
int
red;
29
unsigned
int
green
;
30
unsigned
int
blue
;
31
};
32
33
struct
DT_DLL_vrfNavigation
DtInputNavTag
34
{
35
DtInputNavTag
() : isExclusive(false) {};
36
std::vector<unsigned long> navTagData;
37
DtNavTagColor
color
;
38
bool
isExclusive
;
39
bool
uniquelyIdentify
;
40
};
41
struct
DT_DLL_vrfNavigation
DtInputNavTagVolume
42
{
43
std::vector<DtVector>
points
;
44
unsigned
int
navTagDataIndex
;
45
};
46
47
struct
DT_DLL_vrfNavigation
DtNavTagVolumeSet
48
{
49
std::vector<DtInputNavTag>
navTagDataList
;
50
std::vector<DtInputNavTagVolume>
navTagVolumeList
;
51
};
52
53
class
DT_DLL_vrfNavigation
DtTagVolumeGenerator
54
{
55
public
:
56
virtual
bool
generateTagVolumes(
const
DtNavigationGeneratorInput
& navGenInput,
const
DtRwNavigationProfile
* navProfile,
DtNavTagVolumeSet
& tagVolumes) = 0;
57
};
58
59
//Iterates over list of profiles and calls Generate
60
//on each one.
61
bool
DT_DLL_vrfNavigation
GenerateNavData
(
62
const
DtString
& path,
63
const
DtNavigationGeneratorInput
* options,
64
const
DtRwNavigationProfileList
* profiles,
65
DtTagVolumeGenerator
* tagVolumeGenerator = 0,
66
bool
verboseOutput =
false
);
67
68
//Generation call for a single profile (such as "lifeform").
69
bool
DT_DLL_vrfNavigation
GenerateNavData
(
70
const
DtString
& path,
71
const
DtNavigationGeneratorInput
* options,
72
const
DtRwNavigationProfile
* profile,
73
DtTagVolumeGenerator
* tagVolumeGenerator = 0,
74
bool
verboseOutput =
false
,
75
DtString
randomIdentifier =
""
);
76
77
bool
DT_DLL_vrfNavigation
GenerateAbstractGraphs
(
78
const
DtString
& directory,
const
DtNavigationGeneratorInput
* options);
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)