Work on applying the probed heightmap.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include "heightmap.h"
|
||||
|
||||
namespace grbl {
|
||||
|
||||
@@ -32,6 +33,7 @@ struct program {
|
||||
bool load_from_file(std::string filename);
|
||||
bool load_from_stream(std::istream& in);
|
||||
bool load_from_string(const std::string& content);
|
||||
bool load_from_lines(std::vector<std::string> lines);
|
||||
|
||||
void dump(std::ostream& out);
|
||||
|
||||
@@ -42,10 +44,11 @@ struct program {
|
||||
instruction instruction_at(size_t index) {
|
||||
return instructions.at(index);
|
||||
}
|
||||
|
||||
bool is_loaded = false;
|
||||
std::string filename;
|
||||
std::vector<instruction> instructions{};
|
||||
grbl::program apply_heightmap(grbl::heightmap& grid);
|
||||
void save(std::string path);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user