#include <nanovdb/util/GridBuilder.h>
◆ BuildType
template<typename BuildT >
◆ LeafNodeType
template<typename BuildT >
◆ Node0
template<typename BuildT >
◆ Node1
template<typename BuildT >
◆ Node2
template<typename BuildT >
◆ RootNodeType
template<typename BuildT >
◆ TreeType
template<typename BuildT >
◆ ValueType
template<typename BuildT >
◆ Grid()
template<typename BuildT >
◆ getAccessor()
template<typename BuildT >
regular accessor for thread-safe reading and non-thread-safe writing
◆ getName()
template<typename BuildT >
const std::string & getName |
( |
| ) |
const |
|
inline |
◆ getValue() [1/2]
template<typename BuildT >
◆ getValue() [2/2]
template<typename BuildT >
ValueType getValue |
( |
int | i, |
|
|
int | j, |
|
|
int | k ) const |
|
inlineinherited |
◆ getWriteAccessor()
template<typename BuildT >
special accessor for thread-safe writing only
◆ gridClass()
template<typename BuildT >
◆ gridName()
template<typename BuildT >
const std::string & gridName |
( |
| ) |
const |
|
inline |
◆ gridType()
template<typename BuildT >
◆ map()
template<typename BuildT >
const Map & map |
( |
| ) |
const |
|
inline |
◆ nodeCount()
template<typename BuildT >
std::array< size_t, 3 > nodeCount |
( |
| ) |
const |
|
inlineinherited |
◆ operator()()
template<typename BuildT >
template<typename Func >
Sets grids values in domain of the bbox to those returned by the specified func with the expected signature [](const Coord&)->ValueType.
- Note
- If func returns a value equal to the background value of the input grid at a specific voxel coordinate, then the active state of that coordinate is off! Else the value value is set and the active state is on. This is done to allow for sparse grids to be generated.
- Parameters
-
func | Functor used to evaluate the grid values in the bbox |
bbox | Coordinate bounding-box over which the grid values will be set. |
delta | Specifies a lower threshold value for rendering (optional). Typically equals the voxel size for level sets and otherwise it's zero. |
◆ root()
template<typename BuildT >
◆ setName()
template<typename BuildT >
void setName |
( |
const std::string & | name | ) |
|
|
inline |
◆ setTransform()
template<typename BuildT >
void setTransform |
( |
double | scale = 1.0, |
|
|
const Vec3d & | translation = Vec3d(0.0) ) |
|
inline |
◆ setValue()
template<typename BuildT >
◆ tree()
template<typename BuildT >
◆ mGridClass
template<typename BuildT >
◆ mGridType
template<typename BuildT >
◆ mMap
template<typename BuildT >
◆ mMutex
template<typename BuildT >
◆ mName
template<typename BuildT >
◆ mRoot
template<typename BuildT >