HDK
|
Hierarchical Digital Differential Analyzers specialized for VDB. More...
#include <nanovdb/NanoVDB.h>
Go to the source code of this file.
Classes | |
class | nanovdb::HDDA< RayT, CoordT > |
A Digital Differential Analyzer specialized for OpenVDB grids. More... | |
class | nanovdb::DDA< RayT, CoordT, Dim > |
A Digital Differential Analyzer. Unlike HDDA (defined above) this DDA uses a fixed step-size defined by the template parameter Dim! More... | |
class | nanovdb::TreeMarcher< NodeT, RayT, AccT, CoordT > |
A Tree Marcher for Generic Grids. More... | |
class | nanovdb::PointTreeMarcher< AccT, RayT, CoordT > |
A Tree Marcher for Point Grids. More... | |
Namespaces | |
nanovdb | |
Macros | |
#define | ENFORCE_FORWARD_STEPPING |
Functions | |
template<typename RayT , typename AccT > | |
__hostdev__ bool | nanovdb::ZeroCrossing (RayT &ray, AccT &acc, Coord &ijk, typename AccT::ValueType &v, float &t) |
returns true if the ray intersects a zero-crossing at the voxel level of the grid in the accessor The empty-space ray-marching is performed at all levels of the tree using an HDDA. If an intersection is detected, then ijk is updated with the index coordinate of the closest voxel after the intersection point, v contains the grid values at ijk, and t is set to the time of the intersection along the ray. More... | |
template<typename RayT , typename NodeT > | |
__hostdev__ bool | nanovdb::ZeroCrossingNode (RayT &ray, const NodeT &node, float v0, nanovdb::Coord &ijk, float &v, float &t) |
template<typename RayT , typename AccT > | |
__hostdev__ bool | nanovdb::firstActive (RayT &ray, AccT &acc, Coord &ijk, float &t) |
returns true if the ray intersects an active value at any level of the grid in the accessor. The empty-space ray-marching is performed at all levels of the tree using an HDDA. If an intersection is detected, then ijk is updated with the index coordinate of the first active voxel or tile, and t is set to the time of its intersection along the ray. More... | |
Hierarchical Digital Differential Analyzers specialized for VDB.
Definition in file HDDA.h.