gwnavgeneration/generator/generatoradvancedparameters.h Source File

generatoradvancedparameters.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 // primary contact: LASI - secondary contact: GUAL
9 #ifndef GwNavGen_GeneratorAdvancedParameters_H
10 #define GwNavGen_GeneratorAdvancedParameters_H
11 
15 
16 namespace Kaim
17 {
18 
21 {
25 
29 };
30 
33 class GeneratorAdvancedParameters
34 {
35  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
36 public:
38 
40  void SetDefaultValues();
41 
43  void InitBlobFieldMapping(BlobFieldsMapping& mapping);
44 
46  bool operator==(const GeneratorAdvancedParameters& other) const;
47 
49  bool operator!=(const GeneratorAdvancedParameters& other) const { return !operator==(other); }
50 
51 public:
59 
63 
71 
77 
88 
95 
113 
122 
134 
139 
140  VisualColor m_emptyDefaultNavTagColor;
141  VisualColor m_nonEmptyDefaultNavTagColor;
142  VisualColor m_nonDefaultNavTagColor;
143 };
144 
145 
146 } // namespace Kaim
147 
149 #endif
150 
Indicates the Manhattan metric, which is faster and more accurate.
Definition: generatoradvancedparameters.h:25
KyFloat32 m_superSmoothExtraTolerance
This parameter can be used to get very clean (but also less precise) NavMesh.
Definition: generatoradvancedparameters.h:81
KyFloat32 m_altitudeToleranceSamplingStep
This parameter determines the resolution used to sample the NavMesh and compare it to the original ra...
Definition: generatoradvancedparameters.h:94
void SetDefaultValues()
Clears all information maintained by this object.
KyFloat32 m_noiseReductionSurface
Sets the minimum surface area that any isolated area of NavMesh may occupy to no be considered as noi...
Definition: generatoradvancedparameters.h:103
bool m_forceNoErosionFromHoles
If set to true, the NavMesh will not be eroded from cliffs.
Definition: generatoradvancedparameters.h:66
NavRasterDistanceMapMetric
Enumerates the different possible settings for GeneratorAdvancedParameters::m_navRasterDistanceMapMet...
Definition: generatoradvancedparameters.h:20
Represents a single RGBA color.
Definition: visualcolor.h:19
bool m_backFaceTrianglesWalkable
Determines whether or not back-face triangles (i.e.
Definition: generatoradvancedparameters.h:148
KyUInt32 m_navTagMinPixelArea
This parameter is used for filtering noise that might appear when using NavTags.
Definition: generatoradvancedparameters.h:131
KyUInt32 m_navRasterDistanceMapMetric
Determines the distance map metric that will be used to compute the navRaster from the rasterized geo...
Definition: generatoradvancedparameters.h:143
bool operator!=(const GeneratorAdvancedParameters &other) const
Definition: generatoradvancedparameters.h:51
Indicates the Chessboard metric, which is slightly slower and can place the NavMesh border a little f...
Definition: generatoradvancedparameters.h:29
The GeneratorAdvancedParameters class is used by the GeneratorParameters class to maintain a set of c...
Definition: generatoradvancedparameters.h:34
KyFloat32 m_inwardBorderTolerance
Determines the tolerance used when simplifying the outlines of the navMesh.
Definition: generatoradvancedparameters.h:75
Definition: gamekitcrowddispersion.h:20
KyFloat32 m_navTagRasterMergeTolerance
Sets the vertical tolerance used to select the NavTag to be applied to a raster pixel.
Definition: generatoradvancedparameters.h:121
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
void InitBlobFieldMapping(BlobFieldsMapping &mapping)
For internal use.
bool operator==(const GeneratorAdvancedParameters &other) const
KyFloat32 m_distanceFromHoles
The distance used to move the navMesh borders from the the holes, so that characters do not "fall" in...
Definition: generatoradvancedparameters.h:62
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
KyFloat32 m_minNavigableSurface
Sets the minimum surface area that any isolated area of NavMesh may occupy.
Definition: generatoradvancedparameters.h:111
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43