OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
TimelapsePosPicker.cpp File Reference
#include "ClipperUtils.hpp"
#include "TimelapsePosPicker.hpp"
#include "libslic3r/ExPolygon.hpp"
#include "Layer.hpp"
#include "libslic3r/Point.hpp"
#include <cstdlib>
#include "libslic3r/PrintConfig.hpp"
#include <optional>
#include <vector>
#include <cstddef>
#include "libslic3r/libslic3r.h"
#include "libslic3r/Polygon.hpp"
#include <utility>
#include <algorithm>
#include "libslic3r/Print.hpp"
#include <cmath>
#include <queue>
#include <limits>
#include "libslic3r/Utils.hpp"
#include "libslic3r/Polyline.hpp"
#include "libslic3r/BoundingBox.hpp"
#include "libslic3r/Config.hpp"
#include "libslic3r/Slicing.hpp"
Include dependency graph for TimelapsePosPicker.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Functions

Point Slic3r::pick_pos_internal (const Point &curr_pos, const ExPolygons &safe_areas, const ExPolygons &path_collision_area, bool detect_path_collision, const std::optional< Point > &farthest_point=std::nullopt)
 Selects the nearest position within the given safe areas relative to the current position.

Variables

constexpr int FILTER_THRESHOLD = 5
constexpr int MAX_CANDIDATE_SIZE = 5

Variable Documentation

◆ FILTER_THRESHOLD

◆ MAX_CANDIDATE_SIZE

int MAX_CANDIDATE_SIZE = 5
constexpr