VR-Forces Development_Version 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
};
40
struct
DT_DLL_vrfNavigation
DtInputNavTagVolume
41
{
42
std::vector<DtVector>
points
;
43
unsigned
int
navTagDataIndex
;
44
};
45
46
struct
DT_DLL_vrfNavigation
DtNavTagVolumeSet
47
{
48
std::vector<DtInputNavTag>
navTagDataList
;
49
std::vector<DtInputNavTagVolume>
navTagVolumeList
;
50
};
51
52
class
DT_DLL_vrfNavigation
DtTagVolumeGenerator
53
{
54
public
:
55
virtual
bool
generateTagVolumes(
const
DtNavigationGeneratorInput
& navGenInput,
const
DtRwNavigationProfile
* navProfile,
DtNavTagVolumeSet
& tagVolumes) = 0;
56
};
57
58
//Iterates over list of profiles and calls Generate
59
//on each one.
60
bool
DT_DLL_vrfNavigation
GenerateNavData
(
61
const
DtString
& path,
62
const
DtNavigationGeneratorInput
* options,
63
const
DtRwNavigationProfileList
* profiles,
64
DtTagVolumeGenerator
* tagVolumeGenerator = 0,
65
bool
verboseOutput =
false
);
66
67
//Generation call for a single profile (such as "lifeform").
68
bool
DT_DLL_vrfNavigation
GenerateNavData
(
69
const
DtString
& path,
70
const
DtNavigationGeneratorInput
* options,
71
const
DtRwNavigationProfile
* profile,
72
DtTagVolumeGenerator
* tagVolumeGenerator = 0,
73
bool
verboseOutput =
false
,
74
DtString
randomIdentifier =
""
);
75
76
bool
DT_DLL_vrfNavigation
GenerateAbstractGraphs
(
77
const
DtString
& directory,
const
DtNavigationGeneratorInput
* options);
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)