#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/BedShapeDialog.hpp>
Public Member Functions | |
| BedShapePanel (wxWindow *parent) | |
| void | build_panel (const Pointfs &default_pt, const std::string &custom_texture, const std::string &custom_model) |
| const Pointfs & | get_shape () const |
| const std::string & | get_custom_texture () const |
| const std::string & | get_custom_model () const |
Private Member Functions | |
| ConfigOptionsGroupShp | init_shape_options_page (const wxString &title) |
| void | activate_options_page (ConfigOptionsGroupShp options_group) |
| wxPanel * | init_texture_panel () |
| wxPanel * | init_model_panel () |
| void | set_shape (const Pointfs &points) |
| void | update_preview () |
| void | update_shape () |
| void | load_stl () |
| void | load_texture () |
| void | load_model () |
Private Attributes | |
| Bed_2D * | m_canvas |
| Pointfs | m_shape |
| Pointfs | m_loaded_shape |
| std::string | m_custom_texture |
| std::string | m_custom_model |
| wxSimplebook * | m_shape_options_book |
| ComboBox * | m_shape_combo |
| std::vector< ConfigOptionsGroupShp > | m_optgroups |
Static Private Attributes | |
| static const std::string | NONE = "None" |
| static const std::string | EMPTY_STRING = "" |
Friends | |
| class | BedShapeDialog |
|
inline |
References m_custom_model, m_custom_texture, and NONE.
|
private |
Referenced by build_panel().
| void Slic3r::GUI::BedShapePanel::build_panel | ( | const Pointfs & | default_pt, |
| const std::string & | custom_texture, | ||
| const std::string & | custom_model ) |
References _L, activate_options_page(), Slic3r::GUI::BedShape::append_option_line(), Slic3r::GUI::BedShape::Circle, Slic3r::GUI::BedShape::Custom, Slic3r::GUI::BedShape::Diameter, Expanded, Slic3r::GUI::Line::full_width, Slic3r::GUI::BedShape::get_name(), init_model_panel(), init_shape_options_page(), init_texture_panel(), load_stl(), m_canvas, m_custom_model, m_custom_texture, m_shape, m_shape_combo, m_shape_options_book, Slic3r::make_counter_clockwise(), NONE, Slic3r::GUI::BedShape::Rectangle, Slic3r::GUI::BedShape::RectOrigin, Slic3r::GUI::BedShape::RectSize, Regular, set_shape(), Button::SetStyle(), update_preview(), update_shape(), and Slic3r::GUI::Line::widget.
|
inline |
References EMPTY_STRING, m_custom_model, and NONE.
|
inline |
References EMPTY_STRING, m_custom_texture, and NONE.
|
inline |
|
private |
References _, _L, Expanded, Slic3r::GUI::Line::full_width, load_model(), m_custom_model, NONE, Regular, Button::SetStyle(), update_shape(), Slic3r::GUI::Line::widget, and wxStaticText.
Referenced by build_panel().
|
private |
References _L, m_optgroups, m_shape_options_book, and update_shape().
Referenced by build_panel().
|
private |
References _, _L, Expanded, Slic3r::GUI::Line::full_width, load_texture(), m_custom_texture, NONE, Regular, Button::SetStyle(), update_shape(), Slic3r::GUI::Line::widget, and wxStaticText.
Referenced by build_panel().
|
private |
References _L, Slic3r::GUI::file_wildcards(), Slic3r::GUI::FT_STL, m_custom_model, NONE, Slic3r::GUI::show_error(), and update_shape().
Referenced by init_model_panel().
|
private |
References _L, Slic3r::GUI::file_wildcards(), Slic3r::GUI::FT_STL, Slic3r::TriangleMesh::horizontal_projection(), m_loaded_shape, Slic3r::Model::mesh(), Slic3r::Model::read_from_file(), Slic3r::GUI::show_error(), Slic3r::unscale(), and update_shape().
Referenced by build_panel().
|
private |
References _L, Slic3r::GUI::file_wildcards(), Slic3r::GUI::FT_TEX, m_custom_texture, NONE, Slic3r::GUI::show_error(), and update_shape().
Referenced by init_texture_panel().
|
private |
References Slic3r::GUI::BedShape::apply_optgroup_values(), Slic3r::GUI::BedShape::get_page_type(), Slic3r::GUI::BedShape::is_custom(), m_loaded_shape, m_optgroups, m_shape_options_book, and update_shape().
Referenced by build_panel().
|
private |
References m_canvas.
Referenced by build_panel(), and update_shape().
|
private |
References Slic3r::angle(), Slic3r::GUI::BedShape::Circle, Slic3r::GUI::BedShape::Custom, m_loaded_shape, m_optgroups, m_shape, m_shape_options_book, PI, Slic3r::GUI::BedShape::Rectangle, and update_preview().
Referenced by build_panel(), init_model_panel(), init_shape_options_page(), init_texture_panel(), load_model(), load_stl(), load_texture(), and set_shape().
|
friend |
References BedShapeDialog.
Referenced by BedShapeDialog.
|
staticprivate |
Referenced by get_custom_model(), and get_custom_texture().
|
private |
Referenced by build_panel(), and update_preview().
|
private |
Referenced by BedShapePanel(), build_panel(), get_custom_model(), init_model_panel(), and load_model().
|
private |
Referenced by BedShapePanel(), build_panel(), get_custom_texture(), init_texture_panel(), and load_texture().
|
private |
Referenced by load_stl(), set_shape(), and update_shape().
|
private |
Referenced by init_shape_options_page(), set_shape(), and update_shape().
|
private |
Referenced by build_panel(), get_shape(), and update_shape().
|
private |
Referenced by build_panel().
|
private |
Referenced by build_panel(), init_shape_options_page(), set_shape(), and update_shape().
|
staticprivate |
Referenced by BedShapePanel(), build_panel(), get_custom_model(), get_custom_texture(), init_model_panel(), init_texture_panel(), load_model(), and load_texture().