tools/navgenproj/ProjConfig.h Source File

ProjConfig.h
Go to the documentation of this file.
1 /*
2 * Copyright 2017 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 
9 #include "navgenproj/ProjTypes.h"
15 #include <string>
16 #include <vector>
17 
18 namespace Kaim
19 {
20 
24 {
25 public:
26  ProjConfig() { Init(); }
27  void Init();
28 
29 public:
30  bool Read(XmlNode node);
31  void Write(XmlNode node) const;
32 
33 public:
34  std::string m_genIOFileName;
35  Kaim::GeneratorParameters m_generatorParams;
36  Kaim::GeneratorAbstractGraphParameters m_abstractGraphParams;
37  Kaim::GeneratorRunOptions m_generatorRunOptions;
38  Kaim::CoordSystem m_coordSystem;
39  std::vector<std::string> m_navRasterDistanceMapMetricNames;
40  Kaim::Vec3f m_offset;
41 };
42 
43 inline bool Read(XmlNode node, ProjConfig& value) { return value.Read(node); }
44 inline void Write(XmlNode node, const ProjConfig& value) { value.Write(node); }
45 
46 }
47 
This class is used by the NavGenProj to store configuration parameters required by the NavData genera...
Definition: ProjConfig.h:23
This class maintains the mapping between the system of coordinate axes used by the client game engine...
Definition: coordsystem.h:119
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
The GeneratorParameters class contains configuration parameters that control the characteristics of t...
Definition: generatorparameters.h:67
The GeneratorRunOptions class contains configuration parameters that control the way in which the Gen...
Definition: generatorrunoptions.h:43
std::string m_genIOFileName
.GenIO file to use based on the specified outputDir, m_generatorParams and m_generatorRunOptions will...
Definition: ProjConfig.h:34
3d vector using 32bits floating points.
Definition: vec3f.h:16