OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slicing.hpp File Reference
#include <cassert>
#include <cstring>
#include <map>
#include <set>
#include <type_traits>
#include <utility>
#include <vector>
#include "libslic3r.h"
#include "Utils.hpp"
#include "Point.hpp"
Include dependency graph for Slicing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::SlicingParameters
struct  Slic3r::HeightProfileSmoothingParams

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::Slicing
namespace  cereal
 External Cereal serialization of ExPolygons.

Typedefs

typedef std::pair< coordf_t, coordf_t > Slic3r::t_layer_height_range
typedef std::map< t_layer_height_range, ModelConfig > Slic3r::t_layer_config_ranges

Enumerations

enum  Slic3r::LayerHeightEditActionType : unsigned int { Slic3r::LAYER_HEIGHT_EDIT_ACTION_INCREASE = 0 , Slic3r::LAYER_HEIGHT_EDIT_ACTION_DECREASE = 1 , Slic3r::LAYER_HEIGHT_EDIT_ACTION_REDUCE = 2 , Slic3r::LAYER_HEIGHT_EDIT_ACTION_SMOOTH = 3 }

Functions

bool Slic3r::equal_layering (const SlicingParameters &sp1, const SlicingParameters &sp2)
std::vector< coordf_t > Slic3r::layer_height_profile_from_ranges (const SlicingParameters &slicing_params, const t_layer_config_ranges &layer_config_ranges)
std::vector< double > Slic3r::layer_height_profile_adaptive (const SlicingParameters &slicing_params, const ModelObject &object, float quality_factor)
std::vector< double > Slic3r::smooth_height_profile (const std::vector< double > &profile, const SlicingParameters &slicing_params, const HeightProfileSmoothingParams &smoothing_params)
void Slic3r::adjust_layer_height_profile (const ModelObject &model_object, const SlicingParameters &slicing_params, std::vector< coordf_t > &layer_height_profile, coordf_t z, coordf_t layer_thickness_delta, coordf_t band_width, LayerHeightEditActionType action)
std::vector< coordf_t > Slic3r::generate_object_layers (const SlicingParameters &slicing_params, const std::vector< coordf_t > &layer_height_profile, bool is_precise_z_height)
bool Slic3r::check_object_layers_fixed (const SlicingParameters &slicing_params, const std::vector< coordf_t > &layer_height_profile)
int Slic3r::generate_layer_height_texture (const SlicingParameters &slicing_params, const std::vector< coordf_t > &layers, void *data, int rows, int cols, bool level_of_detail_2nd_level)
coordf_t Slic3r::Slicing::min_layer_height_from_nozzle (const DynamicPrintConfig &print_config, int idx_nozzle)
coordf_t Slic3r::Slicing::max_layer_height_from_nozzle (const DynamicPrintConfig &print_config, int idx_nozzle)
template<class Archive>
void cereal::serialize (Archive &archive, Slic3r::t_layer_height_range &lhr)