14#ifndef OPENVDB_TOOLS_LEVELSETDILATEDMESH_HAS_BEEN_INCLUDED
15#define OPENVDB_TOOLS_LEVELSETDILATEDMESH_HAS_BEEN_INCLUDED
46template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
49 const std::vector<math::Vec3<ScalarType>>& vertices,
const std::vector<Vec3I>& triangles,
50 ScalarType radius,
float voxelSize,
float halfWidth =
float(LEVEL_SET_HALF_WIDTH),
51 InterruptT* interrupter =
nullptr);
69template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
72 const std::vector<math::Vec3<ScalarType>>& vertices,
const std::vector<Vec4I>& quads,
73 ScalarType radius,
float voxelSize,
float halfWidth =
float(LEVEL_SET_HALF_WIDTH),
74 InterruptT* interrupter =
nullptr);
93template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
96 const std::vector<Vec3I>& triangles,
const std::vector<Vec4I>& quads,
97 ScalarType radius,
float voxelSize,
float halfWidth =
float(LEVEL_SET_HALF_WIDTH),
98 InterruptT* interrupter =
nullptr);
106#ifdef OPENVDB_USE_EXPLICIT_INSTANTIATION
108#ifdef OPENVDB_INSTANTIATE_LEVELSETDILATEDMESH
112#define _FUNCTION(TreeT) \
113 Grid<TreeT>::Ptr createLevelSetDilatedMesh<Grid<TreeT>>(const std::vector<Vec3s>&, \
114 const std::vector<Vec3I>&, float, float, float, util::NullInterrupter*)
118#define _FUNCTION(TreeT) \
119 Grid<TreeT>::Ptr createLevelSetDilatedMesh<Grid<TreeT>>(const std::vector<Vec3s>&, \
120 const std::vector<Vec4I>&, float, float, float, util::NullInterrupter*)
124#define _FUNCTION(TreeT) \
125 Grid<TreeT>::Ptr createLevelSetDilatedMesh<Grid<TreeT>>(const std::vector<Vec3s>&, \
126 const std::vector<Vec3I>&, const std::vector<Vec4I>&, float, float, float, \
127 util::NullInterrupter*)
Generate a narrow-band level set of a dilated surface mesh.
General-purpose arithmetic and comparison routines, most of which accept arbitrary value types (or at...
Definition Exceptions.h:13
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition version.h.in:121
#define OPENVDB_USE_VERSION_NAMESPACE
Definition version.h.in:218
#define OPENVDB_REAL_TREE_INSTANTIATE(Function)
Definition version.h.in:162