mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-10 02:37:04 +00:00
NEW:render wrapping_detection_triangles
jira: none Change-Id: Ifdbd1ae8c3906abd235177f68fe0444bbcecb8ba (cherry picked from commit d7df1b8a9c172731cdfb42371153f8781c268aad) (cherry picked from commit 1277955c5f8e81f01c07408debc1338acac667cb) (cherry picked from commit c09de4cff5dcae942e91feae3fafb097e33563b7)
This commit is contained in:
@@ -128,8 +128,10 @@ private:
|
||||
Transform3d m_grabber_trans_matrix;
|
||||
Slic3r::Geometry::Transformation position;
|
||||
std::vector<Vec3f> positions;
|
||||
ExPolygon m_print_polygon;
|
||||
PickingModel m_triangles;
|
||||
GLModel m_exclude_triangles;
|
||||
GLModel m_wrapping_detection_triangles;
|
||||
GLModel m_logo_triangles;
|
||||
GLModel m_gridlines;
|
||||
GLModel m_gridlines_bolder;
|
||||
@@ -172,6 +174,7 @@ private:
|
||||
void calc_bounding_boxes() const;
|
||||
void calc_triangles(const ExPolygon& poly);
|
||||
void calc_exclude_triangles(const ExPolygon& poly);
|
||||
void calc_triangles_from_polygon(const ExPolygon &poly, GLModel& render_model);
|
||||
void calc_gridlines(const ExPolygon& poly, const BoundingBox& pp_bbox);
|
||||
void calc_height_limit();
|
||||
void calc_vertex_for_number(int index, bool one_number, GLModel &buffer);
|
||||
@@ -184,6 +187,7 @@ private:
|
||||
void render_exclude_area(bool force_default_color);
|
||||
//void render_background_for_picking(const ColorRGBA render_color) const;
|
||||
void render_grid(bool bottom);
|
||||
void render_wrapping_detection_area(bool force_default_color);
|
||||
void render_height_limit(PartPlate::HeightLimitMode mode = HEIGHT_LIMIT_BOTH);
|
||||
// void render_label(GLCanvas3D& canvas) const;
|
||||
// void render_grabber(const ColorRGBA render_color, bool use_lighting) const;
|
||||
|
||||
Reference in New Issue
Block a user