#include <nanovdb/util/GridBuilder.h>
◆ BuildType
◆ LeafNodeType
◆ Node0
◆ Node1
◆ Node2
◆ RootNodeType
◆ TreeType
◆ ValueType
◆ Grid()
◆ getAccessor()
regular accessor for thread-safe reading and non-thread-safe writing
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inline |
◆ getValue() [1/2]
◆ getValue() [2/2]
ValueType getValue |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
|
inlineinherited |
◆ getWriteAccessor()
special accessor for thread-safe writing only
◆ gridClass()
◆ gridName()
const std::string & gridName |
( |
| ) |
const |
|
inline |
◆ gridType()
◆ map()
const Map & map |
( |
| ) |
const |
|
inline |
◆ nodeCount()
std::array< size_t, 3 > nodeCount |
( |
| ) |
const |
|
inlineinherited |
◆ operator()()
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()
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setTransform()
void setTransform |
( |
double |
scale = 1.0 , |
|
|
const Vec3d & |
translation = Vec3d(0.0) |
|
) |
| |
|
inline |
◆ setValue()
◆ tree()
◆ mGridClass
◆ mGridType
◆ mMap
◆ mMutex
◆ mName
◆ mRoot