OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
PartPlate.hpp File Reference
#include <cmath>
#include "libslic3r/Config.hpp"
#include <memory>
#include <utility>
#include "libslic3r/Point.hpp"
#include <string>
#include "libslic3r/BoundingBox.hpp"
#include "libslic3r/Geometry.hpp"
#include "libslic3r/ExPolygon.hpp"
#include "libslic3r/Color.hpp"
#include "libslic3r/GCode/ThumbnailData.hpp"
#include "libslic3r/PrintBase.hpp"
#include <map>
#include <cstddef>
#include <cereal/access.hpp>
#include <cereal/specialize.hpp>
#include <vector>
#include <set>
#include <array>
#include <functional>
#include <optional>
#include <thread>
#include <mutex>
#include <wx/types.h>
#include "libslic3r/ObjectID.hpp"
#include "libslic3r/GCode/GCodeProcessor.hpp"
#include "libslic3r/Format/bbs_3mf.hpp"
#include "libslic3r/Slicing.hpp"
#include "libslic3r/GCode/WipeTowerEstimate.hpp"
#include "libslic3r/Arrange.hpp"
#include "Plater.hpp"
#include "libslic3r/Model.hpp"
#include "libslic3r/Print.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "GLCanvas3D.hpp"
#include "GLTexture.hpp"
#include "3DScene.hpp"
#include "GLModel.hpp"
#include "3DBed.hpp"
#include "MeshUtils.hpp"
#include "libslic3r/ParameterUtils.hpp"
Include dependency graph for PartPlate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::WipeTowerRelocation
class  Slic3r::GUI::PartPlate
class  Slic3r::GUI::PartPlateList
class  Slic3r::GUI::PartPlateList::BedTextureInfo
class  Slic3r::GUI::PartPlateList::BedTextureInfo::TexturePart
struct  Slic3r::GUI::PartPlateList::Rect
struct  cereal::specialize< Archive, Slic3r::GUI::PartPlate, cereal::specialization::member_load_save >

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI
namespace  cereal
 External Cereal serialization of ExPolygons.

Macros

#define PLATE_CURRENT_IDX   -1
#define PLATE_ALL_IDX   -2
#define MAX_PLATE_COUNT   36

Typedefs

typedef class GLUquadric GLUquadricObject
using Slic3r::GUI::GCodeResult = GCodeProcessorResult

Functions

int compute_colum_count (int count)

Variables

const float WIPE_TOWER_DEFAULT_X_POS
const float WIPE_TOWER_DEFAULT_Y_POS
const float I3_WIPE_TOWER_DEFAULT_X_POS
const float I3_WIPE_TOWER_DEFAULT_Y_POS

Class Documentation

◆ Slic3r::GUI::WipeTowerRelocation

struct Slic3r::GUI::WipeTowerRelocation
Class Members
bool moved = false
bool overlaps_objects = false

◆ Slic3r::GUI::PartPlateList::Rect

struct Slic3r::GUI::PartPlateList::Rect
Class Members
int h
int w
int x
int y

◆ cereal::specialize< Archive, Slic3r::GUI::PartPlate, cereal::specialization::member_load_save >

struct cereal::specialize< Archive, Slic3r::GUI::PartPlate, cereal::specialization::member_load_save >
template<class Archive>
struct cereal::specialize< Archive, Slic3r::GUI::PartPlate, cereal::specialization::member_load_save >

Macro Definition Documentation

◆ MAX_PLATE_COUNT

◆ PLATE_ALL_IDX

◆ PLATE_CURRENT_IDX

Typedef Documentation

◆ GLUquadricObject

typedef class GLUquadric GLUquadricObject

Function Documentation

◆ compute_colum_count()

int compute_colum_count ( int count)
inline
62{
63 float value = sqrt((float)count);
64 float round_value = round(value);
65 int cols;
66
67 if (value > round_value)
68 cols = round_value +1;
69 else
70 cols = round_value;
71
72 return cols;
73}
static unsigned int count
Definition AuxiliaryDataViewModel.cpp:246
size_t cols(const T &raster)
Definition MarchingSquares.hpp:173

References count.

Referenced by Slic3r::GUI::PartPlateList::create_plate(), Slic3r::GUI::PartPlateList::delete_plate(), and Slic3r::GUI::PartPlateList::update_plate_cols().

Here is the caller graph for this function:

Variable Documentation

◆ I3_WIPE_TOWER_DEFAULT_X_POS

const float I3_WIPE_TOWER_DEFAULT_X_POS
extern

◆ I3_WIPE_TOWER_DEFAULT_Y_POS

const float I3_WIPE_TOWER_DEFAULT_Y_POS
extern

◆ WIPE_TOWER_DEFAULT_X_POS

const float WIPE_TOWER_DEFAULT_X_POS
extern

◆ WIPE_TOWER_DEFAULT_Y_POS

const float WIPE_TOWER_DEFAULT_Y_POS
extern