12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // LevelOutputWriter.hpp
- // auto_fill_jewel_v3
- //
- // Created by Red on 2024/12/10.
- //
- #ifndef LevelOutputWriter_hpp
- #define LevelOutputWriter_hpp
- #include <stdio.h>
- #include <tuple>
- #include <vector>
- #include <string>
- #include "ajson5.hpp"
- using std::tuple;
- using std::vector;
- using std::string;
- #include "FillResult.hpp"
- #include "contourdata.h"
- #include "FillGlobalConfig.hpp"
- struct LevelOutputWriter {
-
- bool writeLevelJson(vector<PlateFillResult>& plateFillResults,
- vector<ContourData::Point>& plateCenterPointArr,
- string outfilename) ;
-
- private:
-
- int getGidByFileName(ArduinoJson::JsonArray &jTileSets, FillGlobalConfig::PlateItem* plate) ;
-
- } ;
- #endif /* LevelOutputWriter_hpp */
|