#include <algorithm>
#include <cstddef>
#include <cstdlib>
#include <cstdint>
#include <utility>
#include <cmath>
#include <set>
#include <vector>
#include <float.h>
#include <unordered_map>
#include <png.h>
#include "Polygon.hpp"
#include "Point.hpp"
#include "Polyline.hpp"
#include "ExPolygon.hpp"
#include "Line.hpp"
#include "libslic3r.h"
#include "ClipperUtils.hpp"
#include "EdgeGrid.hpp"
#include "Geometry.hpp"
#include "SVG.hpp"
#include "PNGReadWrite.hpp"
#include <assert.h>
Go to the source code of this file.
|
| namespace | Slic3r |
| | |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
|
◆ PROPAGATE_SIGNUM_SINGLE_STEP
| #define PROPAGATE_SIGNUM_SINGLE_STEP |
( |
| DELTA | ) |
|
Value: do { \
size_t addr = r * ncols + c; \
unsigned char &cur_val = signs[addr]; \
if (cur_val & 4) { \
unsigned char old_val = signs[addr + (DELTA)]; \
if ((old_val & 4) == 0) \
cur_val = old_val & 1; \
} \
} while (0);
Referenced by Slic3r::EdgeGrid::Grid::calculate_sdf().