gwnavgeneration/generator/generatoradvancedparameters.h Source File

generatoradvancedparameters.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
8 
12 
13 namespace Kaim
14 {
15 
18 {
22 
26 };
27 
31 {
32  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
33 public:
34  // ------------------------------ Functions -----------------------------
35 
37 
39  void SetDefaultValues();
40 
41  void InitBlobFieldMapping(BlobFieldsMapping& mapping);
42  bool operator==(const GeneratorAdvancedParameters& other) const;
43  bool operator!=(const GeneratorAdvancedParameters& other) const { return !operator==(other); }
44 
45 public:
53 
57 
65 
71 
82 
89 
97 
107 
116 
128 
133 
139 
140  Color m_emptyDefaultNavTagColor;
141  Color m_nonEmptyDefaultNavTagColor;
142  Color m_nonDefaultNavTagColor;
143 };
144 
145 
146 } // namespace Kaim
147 
148 
149 
Indicates the Manhattan metric, which is faster and more accurate.
Definition: generatoradvancedparameters.h:21
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
KyFloat32 m_superSmoothExtraTolerance
This parameter can be used to get very clean (but also less precise) NavMesh.
Definition: generatoradvancedparameters.h:70
KyFloat32 m_altitudeToleranceSamplingStep
Sets the resolution used to sample the NavMesh and compare it to the original raster.
Definition: generatoradvancedparameters.h:81
void SetDefaultValues()
Clears all information maintained by this object.
Definition: generatoradvancedparameters.cpp:13
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:88
bool m_forceNoErosionFromHoles
If set to true, the NavMesh will not be eroded from cliffs.
Definition: generatoradvancedparameters.h:56
NavRasterDistanceMapMetric
Enumerates the different possible settings for GeneratorAdvancedParameters::m_navRasterDistanceMapMet...
Definition: generatoradvancedparameters.h:17
bool m_backFaceTrianglesWalkable
Determines whether or not back-face triangles (i.e.
Definition: generatoradvancedparameters.h:132
KyUInt32 m_navTagMinPixelArea
This parameter is used for filtering noise that might appear when using NavTags.
Definition: generatoradvancedparameters.h:115
KyUInt32 m_navRasterDistanceMapMetric
Determines the distance map metric that will be used to compute the navRaster from the rasterized geo...
Definition: generatoradvancedparameters.h:127
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Indicates the Chessboard metric, which is slightly slower and can place the NavMesh border a little f...
Definition: generatoradvancedparameters.h:25
The GeneratorAdvancedParameters class is used by the GeneratorParameters class to maintain a set of c...
Definition: generatoradvancedparameters.h:30
KyFloat32 m_inwardBorderTolerance
Determines the tolerance used when simplifying the outlines of the navMesh.
Definition: generatoradvancedparameters.h:64
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
RGBA color.
Definition: color.h:16
KyFloat32 m_navTagRasterMergeTolerance
Sets the vertical tolerance used to select the NavTag to be applied to a raster pixel.
Definition: generatoradvancedparameters.h:106
void InitBlobFieldMapping(BlobFieldsMapping &mapping)
For internal use.
Definition: generatoradvancedparameters.cpp:34
bool operator==(const GeneratorAdvancedParameters &other) const
Definition: generatoradvancedparameters.cpp:53
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:52
KyFloat32 m_minNavigableSurface
Sets the minimum surface area that any isolated area of NavMesh may occupy.
Definition: generatoradvancedparameters.h:96
KyFloat32 m_climbMax
The maximum difference in altitude that the character can climb.
Definition: generatoradvancedparameters.h:138
float KyFloat32
float
Definition: types.h:32