Loading...
Searching...
No Matches
tools Directory Reference

## Files

| Activate.h
| Implementation of topological activation/deactivation.
| ChangeBackground.h
| Efficient multi-threaded replacement of the background values in tree.
| Clip.h
| Functions to clip a grid against a bounding box, a camera frustum, or another grid's active voxel topology.
| Composite.h
| Functions to efficiently perform various compositing operations on grids.
| Count.h
| Functions to count tiles, nodes or voxels in a grid.
| Dense.h
| This file defines a simple dense grid and efficient converters to and from VDB grids.
| DenseSparseTools.h
| Diagnostics.h
| Various diagnostic tools to identify potential issues with for example narrow-band level sets or fog volumes.
| FastSweeping.h

Defined the six functions {fog,sdf}To{Sdf,Ext,SdfAndExt} in addition to the two functions maskSdf and dilateSdf. Sdf denotes a signed-distance field (i.e. negative values are inside), fog is a scalar fog volume (i.e. higher values are inside), and Ext is a field (of arbitrary type) that is extended off the iso-surface. All these functions are implemented with the methods in the class named FastSweeping.

| Filter.h
| Filtering of VDB volumes. All operations can optionally be masked with another grid that acts as an alpha-mask. By default, filtering operations do not modify the topology of the input tree and thus do not process active tiles. However Filter::setProcessTiles can be used to process active tiles, densifying them on demand when necessary.
| FindActiveValues.h
| Finds the active values and tiles in a tree that intersects a bounding box. Methods are provided that count the number of active values and tiles, test for the existence of active values and tiles, and return a list of the active tiles that intersect a bbox.
| GridOperators.h
| Apply an operator to an input grid to produce an output grid with the same active voxel topology but a potentially different value type.
| GridTransformer.h
| Interpolation.h
| LevelSetAdvect.h
| Hyperbolic advection of narrow-band level sets.
| LevelSetFilter.h
| Performs various types of level set deformations with interface tracking. These unrestricted deformations include surface smoothing (e.g., Laplacian flow), filtering (e.g., mean value) and morphological operations (e.g., morphological opening). All these operations can optionally be masked with another grid that acts as an alpha-mask.
| LevelSetFracture.h
| Divide volumes represented by level set grids into multiple, disjoint pieces by intersecting them with one or more "cutter" volumes, also represented by level sets.
| LevelSetMeasure.h
| LevelSetMorph.h
| Shape morphology of level sets. Morphing from a source narrow-band level sets to a target narrow-band level set.
| LevelSetPlatonic.h
| Generate a narrow-band level sets of the five platonic solids.
| LevelSetRebuild.h
| LevelSetSphere.h
| Generate a narrow-band level set of sphere.
| LevelSetTracker.h
| Performs multi-threaded interface tracking of narrow band level sets. This is the building-block for most level set computations that involve dynamic topology, e.g. advection.
| LevelSetUtil.h
| Miscellaneous utility methods that operate primarily or exclusively on level set grids.
| Mask.h
| Construct boolean mask grids from grids of arbitrary type.
| Merge.h
| Functions to efficiently merge grids.
| MeshToVolume.h
| Convert polygonal meshes that consist of quads and/or triangles into signed or unsigned distance field volumes.
| Morphology.h
| Implementation of morphological dilation and erosion.
| MultiResGrid.h
| Multi-resolution grid that contains LoD sequences of trees with powers of two refinements.
| NodeVisitor.h
| Implementation of a depth-first node visitor.
| ParticleAtlas.h
| Space-partitioning acceleration structure for particles, points with radius. Partitions particle indices into voxels to accelerate range and nearest neighbor searches.
| ParticlesToLevelSet.h
| Rasterize particles with position, radius and velocity into either a boolean mask grid or a narrow-band level set grid.
| PointAdvect.h
| Class PointAdvect advects points (with position) in a static velocity field.
| PointIndexGrid.h
| Space-partitioning acceleration structure for points. Partitions the points into voxels to accelerate range and nearest neighbor searches.
| PointPartitioner.h
| Spatially partitions points using a parallel radix-based sorting algorithm.
| PointScatter.h
| We offer three different algorithms (each in its own class) for scattering of points in active voxels:
| PointsToMask.h
| This tool produces a grid where every voxel that contains a point is active. It employs thread-local storage for best performance.
| PoissonSolver.h
| Solve Poisson's equation ∇2x = b for x, where b is a vector comprising the values of all of the active voxels in a grid.
| PotentialFlow.h
| Tools for creating potential flow fields through solving Laplace's equation.
| Prune.h
| Defined various multi-threaded utility functions for trees.
| RayIntersector.h
| Accelerated intersection of a ray with a narrow-band level set or a generic (e.g. density) volume. This will of course be useful for respectively surface and volume rendering.
| RayTracer.h
| Defines two simple but multithreaded renders, a level-set ray tracer and a volume render. To support these renders we also define perspective and orthographic cameras (both designed to mimic a Houdini camera), a Film class and some rather naive shaders.
| SignedFloodFill.h
| Propagate the signs of distance values from the active voxels in the narrow band to the inactive values outside the narrow band.
| Statistics.h
| Functions to efficiently compute histograms, extrema (min/max) and statistics (mean, variance, etc.) of grid values.
| TopologyToLevelSet.h
| This tool generates a narrow-band signed distance field / level set from the interface between active and inactive voxels in a vdb grid.
| ValueTransformer.h
| VectorTransformer.h
| VelocityFields.h
| Defines two simple wrapper classes for advection velocity fields as well as VelocitySampler and VelocityIntegrator.
| VolumeAdvect.h
| Sparse hyperbolic advection of volumes, e.g. a density or velocity (vs a level set interface).
| VolumeToMesh.h
| Extract polygonal surfaces from scalar volumes.
| VolumeToSpheres.h
| Fill a closed level set or fog volume with adaptively-sized spheres.