Classes | |
| struct | PaneColors |
Enumerations | |
| enum | : int { ID_UV_FRAME = wxID_HIGHEST + 4200 , ID_UV_SNAP , ID_UV_AVG_SCALE , ID_UV_CUT , ID_UV_JOIN , ID_UV_UNJOIN , ID_UV_UNWRAP , ID_UV_MARK_SEAMS , ID_UV_SEAM_PATH , ID_UV_CLEAR_SEAMS , ID_UV_CLEAR_EDITS , ID_UV_SELECT_ISLAND , ID_UV_SELECT_VERTEX , ID_UV_SELECT_EDGE , ID_UV_BG_HEIGHT , ID_UV_BG_CHECKER , ID_UV_BG_DISTORTION , ID_UV_PICK_TEXTURE } |
Functions | |
| wxSize | gl_drawable_size (const wxWindow *win, const wxSize &logical_size) |
| std::vector< int > | gl_attrib_list () |
| void | set_line_width (float width) |
| uint64_t | undirected_edge_key (int a, int b) |
| bool | point_in_triangle (const Vec2f &p, const Vec2f &a, const Vec2f &b, const Vec2f &c) |
| float | angle_delta (float from, float to) |
| Transform3d | to_transform3d (const UVEditorCanvas::IslandTransform &m) |
| wxBitmap | pane_icon (wxWindow *win, const std::string &name, int size_dip) |
| wxSize | drawn_size (const wxBitmap &bmp) |
| wxBitmap | faded (const wxBitmap &bmp, double alpha) |
| wxColour | mix (const wxColour &a, const wxColour &b, double t) |
Variables | |
| const ColorRGBA | UV_COLOR_BG = { 0.16f, 0.16f, 0.16f, 1.f } |
| const ColorRGBA | UV_COLOR_OUTSIDE = { 0.16f, 0.16f, 0.16f, 0.72f } |
| const ColorRGBA | UV_COLOR_GRID = { 1.f, 1.f, 1.f, 0.08f } |
| const ColorRGBA | UV_COLOR_HALO = { 0.06f, 0.06f, 0.07f, 1.f } |
| const ColorRGBA | UV_COLOR_TILE_OUTLINE = { 0.70f, 0.70f, 0.72f, 1.f } |
| const ColorRGBA | UV_COLOR_WIRE = { 1.f, 1.f, 1.f, 0.30f } |
| const ColorRGBA | UV_COLOR_WIRE_SHADOW = { 0.f, 0.f, 0.f, 0.35f } |
| const ColorRGBA | UV_COLOR_BOUNDARY = { 0.93f, 0.93f, 0.94f, 1.f } |
| const ColorRGBA | UV_COLOR_HOVER = { 0.72f, 0.98f, 0.93f, 1.f } |
| const ColorRGBA | UV_COLOR_HOVER_FILL = { 1.f, 1.f, 1.f, 0.12f } |
| const ColorRGBA | UV_COLOR_FILL = { 1.f, 1.f, 1.f, 0.f } |
| const ColorRGBA | UV_COLOR_SEL_FILL = { 0.15f, 0.85f, 0.75f, 0.24f } |
| const ColorRGBA | UV_COLOR_SEL_WIRE = { 0.55f, 1.f, 0.92f, 0.55f } |
| const ColorRGBA | UV_COLOR_SEL_BOUNDARY = { 0.16f, 0.90f, 0.78f, 1.f } |
| const ColorRGBA | UV_COLOR_DIAL = { 1.f, 0.85f, 0.2f, 0.9f } |
| constexpr float | SNAP_PIXELS = 28.f |
| anonymous enum : int |
| float Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::angle_delta | ( | float | from, |
| float | to ) |
References angle_delta(), and M_PI.
Referenced by angle_delta().
| wxSize Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::drawn_size | ( | const wxBitmap & | bmp | ) |
References drawn_size(), and ScalableBitmap::GetBmpSize().
Referenced by drawn_size().
| wxBitmap Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::faded | ( | const wxBitmap & | bmp, |
| double | alpha ) |
References faded().
Referenced by faded().
| std::vector< int > Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::gl_attrib_list | ( | ) |
References Slic3r::GUI::OpenGLManager::can_multisample(), gl_attrib_list(), GL_FALSE, GL_TRUE, and SETTING_OPENGL_AA_SAMPLES.
Referenced by gl_attrib_list().
| wxSize Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::gl_drawable_size | ( | const wxWindow * | win, |
| const wxSize & | logical_size ) |
References gl_drawable_size(), and scale().
Referenced by gl_drawable_size().
| wxColour Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::mix | ( | const wxColour & | a, |
| const wxColour & | b, | ||
| double | t ) |
References mix().
Referenced by mix().
| wxBitmap Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::pane_icon | ( | wxWindow * | win, |
| const std::string & | name, | ||
| int | size_dip ) |
References create_scaled_bitmap(), Slic3r::GUI::BitmapCache::load_svg(), pane_icon(), and scale().
Referenced by pane_icon().
| bool Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::point_in_triangle | ( | const Vec2f & | p, |
| const Vec2f & | a, | ||
| const Vec2f & | b, | ||
| const Vec2f & | c ) |
References Slic3r::cross(), and point_in_triangle().
Referenced by point_in_triangle().
| void Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::set_line_width | ( | float | width | ) |
References glGetError, glLineWidth, and set_line_width().
Referenced by set_line_width().
| Transform3d Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::to_transform3d | ( | const UVEditorCanvas::IslandTransform & | m | ) |
References to_transform3d().
Referenced by to_transform3d().
| uint64_t Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::undirected_edge_key | ( | int | a, |
| int | b ) |
References undirected_edge_key().
Referenced by undirected_edge_key().
|
constexpr |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_BG = { 0.16f, 0.16f, 0.16f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_BOUNDARY = { 0.93f, 0.93f, 0.94f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_DIAL = { 1.f, 0.85f, 0.2f, 0.9f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_FILL = { 1.f, 1.f, 1.f, 0.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_GRID = { 1.f, 1.f, 1.f, 0.08f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_HALO = { 0.06f, 0.06f, 0.07f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_HOVER = { 0.72f, 0.98f, 0.93f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_HOVER_FILL = { 1.f, 1.f, 1.f, 0.12f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_OUTSIDE = { 0.16f, 0.16f, 0.16f, 0.72f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_SEL_BOUNDARY = { 0.16f, 0.90f, 0.78f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_SEL_FILL = { 0.15f, 0.85f, 0.75f, 0.24f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_SEL_WIRE = { 0.55f, 1.f, 0.92f, 0.55f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_TILE_OUTLINE = { 0.70f, 0.70f, 0.72f, 1.f } |
| const ColorRGBA Slic3r::GUI::anonymous_namespace{UVEditorCanvas.cpp}::UV_COLOR_WIRE = { 1.f, 1.f, 1.f, 0.30f } |