HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDDA.h File Reference

Hierarchical Digital Differential Analyzers specialized for VDB. More...

#include <nanovdb/NanoVDB.h>
+ Include dependency graph for HDDA.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...
 

Detailed Description

Hierarchical Digital Differential Analyzers specialized for VDB.

Author
Ken Museth

Definition in file HDDA.h.

Macro Definition Documentation

#define ENFORCE_FORWARD_STEPPING

Definition at line 14 of file HDDA.h.