|
GaitGeneration by Graph Search
|
#include <vector>#include "cassert_define.h"#include "string_util.h"#include "toml_serialize_macro.h"クラス | |
| struct | designlab::SimulationMapParameter |
| マップ生成時のモードとオプションを指定する構造体. [詳解] | |
名前空間 | |
| namespace | designlab |
列挙型 | |
| enum class | designlab::SimulationMapMode : int { designlab::kFlat = 0 , designlab::kVerticalStripe , designlab::kHorizontalStripe , designlab::kDiagonalStripe , designlab::kMesh , designlab::kLatticePoint , designlab::kCircle , designlab::kDonut } |
| getMap関数のマップ生成のモードを指定する列挙体. [詳解] | |
| enum class | designlab::SimulationMapOption : unsigned int { designlab::kNone = 0 , designlab::kPerforated = 1 << 0 , designlab::kStep = 1 << 1 , designlab::kSlope = 1 << 2 , designlab::kTilt = 1 << 3 , designlab::kRough = 1 << 4 , designlab::kRadiation = 1 << 5 } |
| getMap関数のマップ生成のオプションを指定する列挙体. bit演算を利用して複数指定できる. 例えば穴あきかつ,階段状にしたいならば, MapCreateOption::kPerforated | SimulationMapOption::kStep と指定する. bit演算ができるように unsigned int型にしている. [詳解] | |
関数 | |
| designlab::DESIGNLAB_TOML11_DESCRIPTION_CLASS (SimulationMapParameter) | |
| DESIGNLAB_TOML11_SERIALIZE (designlab::SimulationMapParameter, mode, option, base_z, map_max_x, map_min_x, map_max_y, map_min_y, map_start_rough_x, stripe_interval, hole_rate, step_height, step_length, slope_angle, tilt_angle, rough_max_height, rough_min_height, circle_center, circle_radius, donut_radius, radial_center, radial_division, radial_hole_rate, radial_angle_offset) | |
| DESIGNLAB_TOML11_SERIALIZE | ( | designlab::SimulationMapParameter | , |
| mode | , | ||
| option | , | ||
| base_z | , | ||
| map_max_x | , | ||
| map_min_x | , | ||
| map_max_y | , | ||
| map_min_y | , | ||
| map_start_rough_x | , | ||
| stripe_interval | , | ||
| hole_rate | , | ||
| step_height | , | ||
| step_length | , | ||
| slope_angle | , | ||
| tilt_angle | , | ||
| rough_max_height | , | ||
| rough_min_height | , | ||
| circle_center | , | ||
| circle_radius | , | ||
| donut_radius | , | ||
| radial_center | , | ||
| radial_division | , | ||
| radial_hole_rate | , | ||
| radial_angle_offset | |||
| ) |