0% found this document useful (0 votes)
41 views

Vec3I Vec4I: Xform, Points, Triangles, Quads, Exbandwidth, Inbandwidth

This function converts a triangle and quad mesh to a signed distance field grid with an asymmetrical narrow band. It returns a grid containing an SDF representation of the input mesh. It supports closed but not necessarily manifold surfaces with self-intersections or degenerate faces, independent of mesh normals. The exterior and interior narrow band widths are specified in voxel units.

Uploaded by

Carl Woods
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Vec3I Vec4I: Xform, Points, Triangles, Quads, Exbandwidth, Inbandwidth

This function converts a triangle and quad mesh to a signed distance field grid with an asymmetrical narrow band. It returns a grid containing an SDF representation of the input mesh. It supports closed but not necessarily manifold surfaces with self-intersections or degenerate faces, independent of mesh normals. The exterior and interior narrow band widths are specified in voxel units.

Uploaded by

Carl Woods
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

GridType::Ptr const openvdb::math::Transform

( xform,
meshToSignedDistanceField &
const std::vector< Vec3s > & points,
const std::vector< Vec3I > & triangles,
inline
const std::vector< Vec4I > & quads,
float exBandWidth,
float inBandWidth
)

Convert a triangle and quad mesh to a signed distance field with an asymmetrical narrow band.

Returns
a grid of type GridType containing a narrow-band signed distance field representation of
the input mesh.
Exceptions
TypeError if GridType is not scalar or not floating-point
Note
Requires a closed surface but not necessarily a manifold surface. Supports surfaces with
self intersections and degenerate faces and is independent of mesh surface normals.
Parameters
xform transform for the output grid
points list of world space point positions
triangles triangle index list
quads quad index list
exBandWidth the exterior narrow-band width in voxel units
inBandWidth the interior narrow-band width in voxel units

http://www.openvdb.org/documentation/doxygen/namespaceopenvdb_1_1v4__0__2_1_1tools.h
tml#ab994dead75e3d110e11eb64dce6ca65a

You might also like