#include <cstddef>#include <cstdint>#include <functional>#include <vector>#include "TextureBakeIndex.hpp"Go to the source code of this file.
Classes | |
| struct | Slic3r::TextureBake::DecimateResult |
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::TextureBake |
Typedefs | |
| using | Slic3r::TextureBake::DecimateProgressFn = std::function<bool(double fraction)> |
Functions | |
| DecimateResult | Slic3r::TextureBake::decimate (const TriSoup &geometry, size_t target_triangles, bool harvest_flat, double harvest_tol, const std::vector< uint8_t > &locked_faces, const DecimateProgressFn &on_progress, const std::vector< int > &face_color) |
Variables | |
| static constexpr double | Slic3r::TextureBake::DECIMATE_FLIP_DOT = 0.2 |
| static constexpr double | Slic3r::TextureBake::DECIMATE_CREASE_COS = 0.5 |
| static constexpr double | Slic3r::TextureBake::DECIMATE_CREASE_WEIGHT = 1e4 |
| static constexpr int | Slic3r::TextureBake::DECIMATE_MAX_VALENCE = 64 |
| static constexpr double | Slic3r::TextureBake::DECIMATE_DEFAULT_HARVEST_TOL = 0.005 |
| struct Slic3r::TextureBake::DecimateResult |
| Class Members | ||
|---|---|---|
| vector< int > | face_color | |
| TriSoup | geometry | |
| bool | locked_over_budget = false | |
| bool | target_cost_detail = false | |