14 #ifndef OPENVDB_TOOLS_LEVELSETDILATEDMESH_HAS_BEEN_INCLUDED
15 #define OPENVDB_TOOLS_LEVELSETDILATEDMESH_HAS_BEEN_INCLUDED
46 template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
47 typename GridType::Ptr
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);
69 template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
70 typename GridType::Ptr
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);
93 template <
typename Gr
idType,
typename ScalarType,
typename InterruptT = util::NullInterrupter>
94 typename GridType::Ptr
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*)
131 #endif // OPENVDB_USE_EXPLICIT_INSTANTIATION
139 #endif // OPENVDB_TOOLS_LEVELSETDILATEDMESH_HAS_BEEN_INCLUDED
GU_API exint quads(GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &originalRings, GA_PrimitiveGroup *patchgroup, GA_PrimitiveGroup *loopgroup, bool smooth, fpreal smoothstrength, bool edgeloop, fpreal edgeloopPercentage)
#define OPENVDB_REAL_TREE_INSTANTIATE(Function)
#define OPENVDB_USE_VERSION_NAMESPACE
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...
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.