HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::build Namespace Reference

Classes

struct  GetValue
 Implements Tree::getValue(Coord), i.e. return the value associated with a specific coordinate ijk. More...
 
struct  SetValue
 Set the value and its state at the leaf level mapped to by ijk, and create the leaf node and branch if needed. More...
 
struct  TouchLeaf
 
struct  GetState
 Implements Tree::isActive(Coord) More...
 
struct  ProbeValue
 Implements Tree::probeLeaf(Coord) More...
 
struct  RootNode
 
struct  InternalNode
 
struct  LeafNode
 
struct  LeafNode< ValueMask >
 
struct  LeafNode< bool >
 
struct  ValueAccessor
 
struct  Tree
 
struct  Grid
 
class  NodeManager
 

Typedefs

template<typename T >
using BuildLeaf = LeafNode< T >
 
template<typename T >
using BuildLower = InternalNode< BuildLeaf< T >>
 
template<typename T >
using BuildUpper = InternalNode< BuildLower< T >>
 
template<typename T >
using BuildRoot = RootNode< BuildUpper< T >>
 
template<typename T >
using BuildTile = typename BuildRoot< T >::Tile
 
using FloatGrid = Grid< float >
 
using Fp4Grid = Grid< Fp4 >
 
using Fp8Grid = Grid< Fp8 >
 
using Fp16Grid = Grid< Fp16 >
 
using FpNGrid = Grid< FpN >
 
using DoubleGrid = Grid< double >
 
using Int32Grid = Grid< int32_t >
 
using UInt32Grid = Grid< uint32_t >
 
using Int64Grid = Grid< int64_t >
 
using Vec3fGrid = Grid< Vec3f >
 
using Vec3dGrid = Grid< Vec3d >
 
using Vec4fGrid = Grid< Vec4f >
 
using Vec4dGrid = Grid< Vec4d >
 
using MaskGrid = Grid< ValueMask >
 
using IndexGrid = Grid< ValueIndex >
 
using OnIndexGrid = Grid< ValueOnIndex >
 
using BoolGrid = Grid< bool >
 

Functions

template<typename NodeManagerT >
enable_if< is_floating_point
< typename
NodeManagerT::ValueType >
::value >::type 
sdfToLevelSet (NodeManagerT &mgr)
 
template<typename NodeManagerT >
void levelSetToFog (NodeManagerT &mgr, bool rebuild=true)
 

Typedef Documentation

using nanovdb::build::BoolGrid = typedef Grid<bool>

Definition at line 2050 of file GridBuilder.h.

template<typename T >
using nanovdb::build::BuildLeaf = typedef LeafNode<T>

Definition at line 2024 of file GridBuilder.h.

template<typename T >
using nanovdb::build::BuildLower = typedef InternalNode<BuildLeaf<T>>

Definition at line 2026 of file GridBuilder.h.

template<typename T >
using nanovdb::build::BuildRoot = typedef RootNode<BuildUpper<T>>

Definition at line 2030 of file GridBuilder.h.

template<typename T >
using nanovdb::build::BuildTile = typedef typename BuildRoot<T>::Tile

Definition at line 2032 of file GridBuilder.h.

template<typename T >
using nanovdb::build::BuildUpper = typedef InternalNode<BuildLower<T>>

Definition at line 2028 of file GridBuilder.h.

using nanovdb::build::DoubleGrid = typedef Grid<double>

Definition at line 2039 of file GridBuilder.h.

Definition at line 2034 of file GridBuilder.h.

Definition at line 2037 of file GridBuilder.h.

using nanovdb::build::Fp4Grid = typedef Grid<Fp4>

Definition at line 2035 of file GridBuilder.h.

using nanovdb::build::Fp8Grid = typedef Grid<Fp8>

Definition at line 2036 of file GridBuilder.h.

using nanovdb::build::FpNGrid = typedef Grid<FpN>

Definition at line 2038 of file GridBuilder.h.

Definition at line 2048 of file GridBuilder.h.

using nanovdb::build::Int32Grid = typedef Grid<int32_t>

Definition at line 2040 of file GridBuilder.h.

using nanovdb::build::Int64Grid = typedef Grid<int64_t>

Definition at line 2042 of file GridBuilder.h.

Definition at line 2047 of file GridBuilder.h.

Definition at line 2049 of file GridBuilder.h.

using nanovdb::build::UInt32Grid = typedef Grid<uint32_t>

Definition at line 2041 of file GridBuilder.h.

Definition at line 2044 of file GridBuilder.h.

Definition at line 2043 of file GridBuilder.h.

Definition at line 2046 of file GridBuilder.h.

Definition at line 2045 of file GridBuilder.h.

Function Documentation

template<typename NodeManagerT >
void nanovdb::build::levelSetToFog ( NodeManagerT &  mgr,
bool  rebuild = true 
)

Definition at line 2169 of file GridBuilder.h.

template<typename NodeManagerT >
enable_if<is_floating_point<typename NodeManagerT::ValueType>::value>::type nanovdb::build::sdfToLevelSet ( NodeManagerT &  mgr)

Definition at line 2151 of file GridBuilder.h.