#include <MeshToVolume.h>
|
| MeshToVolume (openvdb::math::Transform::Ptr &, int conversionFlags=0, InterruptT *interrupter=NULL, int signSweeps=1) |
|
void | convertToLevelSet (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, DistValueT exBandWidth=DistValueT(LEVEL_SET_HALF_WIDTH), DistValueT inBandWidth=DistValueT(LEVEL_SET_HALF_WIDTH)) |
| Mesh to Level Set / Signed Distance Field conversion. More...
|
|
void | convertToUnsignedDistanceField (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, DistValueT exBandWidth) |
| Mesh to Unsigned Distance Field conversion. More...
|
|
void | clear () |
|
DistGridT::Ptr | distGridPtr () const |
| Returns a narrow-band (signed) distance field / level set grid. More...
|
|
IndexGridT::Ptr | indexGridPtr () const |
|
OPENVDB_DEPRECATED void | convert (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, DistValueT exBandWidth, DistValueT inBandWidth=DistValueT(0.0)) |
| DEPRICATED will be removed soon. More...
|
|
Custom Grid and Tree types.
Custom Grid and Tree types.
Custom Grid and Tree types.
Custom Grid and Tree types.
Custom Grid and Tree types.
typedef DistTreeT::template ValueConverter<bool>::Type StencilTreeT |
Custom Grid and Tree types.
MeshToVolume |
( |
openvdb::math::Transform::Ptr & |
transform, |
|
|
int |
conversionFlags = 0 , |
|
|
InterruptT * |
interrupter = NULL , |
|
|
int |
signSweeps = 1 |
|
) |
| |
DEPRICATED will be removed soon.
- Note
- The new functions take the narrow band width in voxel units.
- Parameters
-
pointList | List of points in grid index space, preferably unique and shared by different polygons. |
polygonList | List of triangles and/or quads. |
exBandWidth | The exterior narrow-band width in world space units. |
inBandWidth | The interior narrow-band width in world space units. |
Mesh to Level Set / Signed Distance Field conversion.
- Note
- Requires a closed surface but not necessarily a manifold surface. Supports surfaces with self intersections, degenerate faces and is independent of mesh surface normals.
- Parameters
-
pointList | List of points in grid index space, preferably unique and shared by different polygons. |
polygonList | List of triangles and/or quads. |
exBandWidth | The exterior narrow-band width in voxel units. |
inBandWidth | The interior narrow-band width in voxel units. |
void convertToUnsignedDistanceField |
( |
const std::vector< Vec3s > & |
pointList, |
|
|
const std::vector< Vec4I > & |
polygonList, |
|
|
DistValueT |
exBandWidth |
|
) |
| |
|
inline |
Mesh to Unsigned Distance Field conversion.
- Note
- Does not requires a closed surface.
- Parameters
-
pointList | List of points in grid index space, preferably unique and shared by different polygons. |
polygonList | List of triangles and/or quads. |
exBandWidth | The narrow-band width in voxel units. |
DistGridT::Ptr distGridPtr |
( |
| ) |
const |
|
inline |
Returns a narrow-band (signed) distance field / level set grid.
Returns a grid containing the closest-primitive index for each voxel in the narrow-band.
The documentation for this class was generated from the following file: