GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
map_creator_for_simulation.h
[詳解]
1
3
4// Copyright(c) 2023-2025 Design Engineering Laboratory, Saitama University
5// Released under the MIT license
6// https://opensource.org/licenses/mit-license.php
7
8#ifndef DESIGNLAB_MAP_CREATOR_FOR_SIMULATION_H_
9#define DESIGNLAB_MAP_CREATOR_FOR_SIMULATION_H_
10
11#include <vector>
12
14#include "map_state.h"
15#include "math_vector3.h"
17
18namespace designlab {
19
25 public:
29
30 MapState InitMap() const override;
31
32 void UpdateMap(MapState* current_map) const override;
33
34 private:
36 void CreateFlatMap(std::vector<Vector3>* map) const;
37
39 void CreateVerticalStripeMap(std::vector<Vector3>* map) const;
40
42 void CreateHorizontalStripeMap(std::vector<Vector3>* map) const;
43
45 void CreateDiagonalStripeMap(std::vector<Vector3>* map) const;
46
48 void CreateMeshMap(std::vector<Vector3>* map) const;
49
51 void CreateLatticePointMap(std::vector<Vector3>* map) const;
52
54 void CreateCircleMap(std::vector<Vector3>* map) const;
55
57 void CreateDonutMap(std::vector<Vector3>* map) const;
58
60 void ChangeMapToPerforated(std::vector<Vector3>* map) const;
61
63 void ChangeMapToStep(std::vector<Vector3>* map) const;
64
66 void ChangeMapToSlope(std::vector<Vector3>* map) const;
67
69 void ChangeMapToTilt(std::vector<Vector3>* map) const;
70
72 void ChangeMapToRough(std::vector<Vector3>* map) const;
73
75 void ChangeMapToRadial(std::vector<Vector3>* map) const;
76
78 const SimulationMapParameter parameter_;
79};
80
81} // namespace designlab
82
83#endif // DESIGNLAB_MAP_CREATOR_FOR_SIMULATION_H_
マップ生成クラスのインターフェース.
シミュレーション用のマップを生成するクラス.
MapState InitMap() const override
マップの初期化を行う.
void UpdateMap(MapState *current_map) const override
マップの更新を行う.
マップを表すクラス.
Definition map_state.h:29
マップ生成時のモードとオプションを指定する構造体.