mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
ENH: thumbnail: add top_view thumbnails and picking thumbnails
1. add top view thumbnail for each plate 2. add picking thumbnails for each plate 3. save model object id for picking Change-Id: I1d7f6ade22726ff12c282cb12e4a78e6b444a070
This commit is contained in:
parent
9f3a89320b
commit
c65a5f8bf5
15 changed files with 716 additions and 195 deletions
|
@ -231,10 +231,13 @@ public:
|
|||
static const int plate_thumbnail_width = 512;
|
||||
static const int plate_thumbnail_height = 512;
|
||||
|
||||
ThumbnailData cali_thumbnail_data;
|
||||
ThumbnailData top_thumbnail_data;
|
||||
ThumbnailData pick_thumbnail_data;
|
||||
|
||||
//ThumbnailData cali_thumbnail_data;
|
||||
PlateBBoxData cali_bboxes_data;
|
||||
static const int cali_thumbnail_width = 2560;
|
||||
static const int cali_thumbnail_height = 2560;
|
||||
//static const int cali_thumbnail_width = 2560;
|
||||
//static const int cali_thumbnail_height = 2560;
|
||||
|
||||
//set the plate's index
|
||||
void set_index(int index);
|
||||
|
@ -410,7 +413,7 @@ public:
|
|||
//load gcode from file
|
||||
int load_gcode_from_file(const std::string& filename);
|
||||
//load thumbnail data from file
|
||||
int load_thumbnail_data(std::string filename);
|
||||
int load_thumbnail_data(std::string filename, ThumbnailData& thumb_data);
|
||||
//load pattern thumbnail data from file
|
||||
int load_pattern_thumbnail_data(std::string filename);
|
||||
//load pattern box data from file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue