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
navigationGeneratorInput.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 "
vrfNavigation/navTriangle.h
"
14
15
#include "
vrfutil/rwNavigationProfile.h
"
16
17
#include "
geometry/extent.h
"
18
19
#include <vector>
20
21
class
DtRwNavGenConfig
;
22
23
namespace
vrfNav
24
{
25
class
DtCoordinateConverter;
26
}
27
28
class
DT_DLL_vrfNavigation
DtNavigationGeneratorInput
29
{
30
public
:
31
typedef
std::vector<std::vector<DtNavTrianglesPtr> >
TriangleSets
;
32
33
//Default constructor
34
DtNavigationGeneratorInput
();
35
36
//Returns the extent of the individual sector, based on
37
//the full extent size and the number of sectors in x and y.
38
DtExtent
sectorExtent(
int
xIndex = 0,
int
yIndex = 0)
const
;
39
40
void
sectorCellBox(
int
xIndex,
int
yIndex,
41
int
& xMin,
int
& yMin,
int
& xMax,
int
& yMax)
const
;
42
43
std::pair<int, int> indicesFromCellMin(
int
minX,
int
minY)
const
;
44
45
DtNavTrianglesPtr
triangleSet(
int
xIndex = 0,
int
yIndex = 0)
const
;
46
47
void
setTriangles(
int
xIndex,
int
yIndex,
DtNavTrianglesPtr
triangleSet);
48
49
void
alignExtentToCellSize(
DtVector
& ne,
DtVector
& nw,
DtVector
& se,
DtVector
& sw);
50
51
DtRwNavGenConfig
*
myConfig
;
52
DtRwNavigationProfileList
myProfiles
;
53
54
TriangleSets
triangles
;
55
56
std::list<DtVector>
transitionPoints
;
57
58
vrfNav::DtCoordinateConverter*
converter
;
59
60
DtVector
myKaimExtentNW
;
61
DtVector
myKaimExtentNE
;
62
DtVector
myKaimExtentSW
;
63
DtVector
myKaimExtentSE
;
64
};
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
)