OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
CgalUtils.hpp File Reference
#include "libslic3r/Point.hpp"
#include "TriMesh.hpp"
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Polygon_mesh_processing/repair.h>
#include <CGAL/Surface_mesh/Surface_mesh.h>
#include <chrono>
#include <cstdio>
#include <map>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Include dependency graph for CgalUtils.hpp:
This graph shows which files directly or indirectly include this file:

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 |/
namespace  Slic3r::tex2color
namespace  Slic3r::tex2color::cgalutils

Typedefs

using Slic3r::tex2color::cgalutils::Kernel = CGAL::Exact_predicates_inexact_constructions_kernel
using Slic3r::tex2color::cgalutils::CGALMesh = CGAL::Surface_mesh<Kernel::Point_3>

Functions

CGALMesh Slic3r::tex2color::cgalutils::trimesh_to_cgal (const TriMesh &mesh)
TriMesh Slic3r::tex2color::cgalutils::cgal_to_trimesh (const CGALMesh &cm)
bool Slic3r::tex2color::cgalutils::is_mesh_halfedge_compatible (const TriMesh &mesh)
bool Slic3r::tex2color::cgalutils::convert_trimesh_to_cgal (const TriMesh &mesh, CGALMesh &cgal_mesh)
bool Slic3r::tex2color::cgalutils::convert_trimesh_to_cgal (const TriMesh &mesh, const std::vector< Vec2f > &vertex_uvs, CGALMesh &cgal_mesh, std::vector< Vec2f > &cgal_vertex_uvs)