OpenVDB: LevelSetUtil.h File Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Functions
LevelSetUtil.h File Reference

Miscellaneous utilities that operate primarily or exclusively on level set grids. More...

`#include "MeshToVolume.h"`
`#include "SignedFloodFill.h"`
`#include <openvdb/Types.h>`
`#include <openvdb/Grid.h>`
`#include <tbb/blocked_range.h>`
`#include <tbb/parallel_for.h>`
`#include <tbb/parallel_reduce.h>`
`#include <limits>`

Go to the source code of this file.

## Classes
struct | MaskInteriorVoxels< LeafNodeType >
struct | MaskInteriorTiles< TreeType, InternalNodeType >
struct | PopulateTree< TreeType >
struct | LabelBoundaryVoxels< LeafNodeType >
| Negative active values are set `0`, everything else is set to `1`. More...
struct | FlipRegionSign< LeafNodeType >
struct | FindMinVoxelValue< LeafNodeType >
struct | FindMinTileValue< InternalNodeType >
struct | SDFVoxelsToFogVolume< LeafNodeType >
struct | SDFTilesToFogVolume< TreeType, InternalNodeType >
struct | FillMaskBoundary< TreeType >
struct | GridOrTreeConstructor< TreeType >
struct | GridOrTreeConstructor< Grid< TreeType > >

## Namespaces
| openvdb
| openvdb::v3_1_0
| openvdb::v3_1_0::tools
| openvdb::v3_1_0::tools::level_set_util_internal

## Functions
template<class GridType >
void | sdfToFogVolume (GridType &grid, typename GridType::ValueType cutoffDistance=lsutilGridMax< GridType >())
| Threaded method to convert a sparse level set/SDF into a sparse fog volume. More...
template<class GridOrTreeType >
GridOrTreeType::template ValueConverter< bool >::Type::Ptr | sdfInteriorMask (const GridOrTreeType &volume, typename GridOrTreeType::ValueType isovalue=lsutilGridZero< GridOrTreeType >())
| Threaded method to construct a boolean mask that represents interior regions in a signed distance field. More...
template<typename GridOrTreeType >
GridOrTreeType::template ValueConverter< bool >::Type::Ptr | extractEnclosedRegion (const GridOrTreeType &volume, typename GridOrTreeType::ValueType isovalue=lsutilGridZero< GridOrTreeType >(), const typename TreeAdapter< GridOrTreeType >::TreeType::template ValueConverter< bool >::Type *fillMask=NULL)
| Extracts the interior regions of a signed distance field and topologically enclosed (watertight) regions of value greater than the isovalue (cavities) that can arise as the result of CSG union operations between different shapes where at least one of the shapes has a concavity that is capped. More...
template<class TreeType >
TreeType::template ValueConverter< char >::Type::Ptr | computeEnclosedRegionMask (const TreeType &tree, typename TreeType::ValueType isovalue, const typename TreeType::template ValueConverter< bool >::Type *fillMask)
| Constructs a memory light char tree that represents the exterior region with `+1` and the interior regions with `-1`. More...
template<class TreeType >
TreeType::template ValueConverter< bool >::Type::Ptr | computeInteriorMask (const TreeType &tree, typename TreeType::ValueType iso)

## Detailed Description

Miscellaneous utilities that operate primarily or exclusively on level set grids.

Author
  Mihai Alden