OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
OpenVDBUtils.hpp File Reference
#include "Point.hpp"
#include <libslic3r/TriangleMesh.hpp>
#include <openvdb/Types.h>
#include <openvdb/math/Transform.h>
#include <openvdb/openvdb.h>
Include dependency graph for OpenVDBUtils.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 |/

Functions

Vec3f Slic3r::to_vec3f (const openvdb::Vec3s &v)
Vec3d Slic3r::to_vec3d (const openvdb::Vec3s &v)
Vec3i32 Slic3r::to_vec3i (const openvdb::Vec3I &v)
openvdb::FloatGrid::Ptr Slic3r::mesh_to_grid (const indexed_triangle_set &mesh, const openvdb::math::Transform &tr, float voxel_scale, float exteriorBandWidth, float interiorBandWidth, int flags)
indexed_triangle_set Slic3r::grid_to_mesh (const openvdb::FloatGrid &grid, double isovalue, double adaptivity, bool relaxDisorientedTriangles)
openvdb::FloatGrid::Ptr Slic3r::redistance_grid (const openvdb::FloatGrid &grid, double iso, double er, double ir)