|
| GridBuilder (ValueT background=ValueT(), GridClass gClass=GridClass::Unknown, uint64_t blindDataSize=0) |
|
ValueAccessor | getAccessor () |
|
void | sdfToLevelSet () |
| Performs multi-threaded bottom-up signed-distance flood-filling and changes GridClass to LevelSet.
|
|
void | sdfToFog () |
| Performs multi-threaded bottom-up signed-distance flood-filling followed by level-set -> FOG volume conversion. It also changes the GridClass to FogVolume.
|
|
void | setVerbose (int mode=1) |
|
void | enableDithering (bool on=true) |
|
void | setStats (StatsMode mode=StatsMode::Default) |
|
void | setChecksum (ChecksumMode mode=ChecksumMode::Default) |
|
void | setGridClass (GridClass mode=GridClass::Unknown) |
|
template<typename OracleT = AbsDiff, typename BufferT = HostBuffer> |
GridHandle< BufferT > | getHandle (double voxelSize=1.0, const Vec3d &gridOrigin=Vec3d(0), const std::string &name="", const OracleT &oracle=OracleT(), const BufferT &buffer=BufferT()) |
| Return an instance of a GridHandle (invoking move semantics)
|
|
template<typename OracleT = AbsDiff, typename BufferT = HostBuffer> |
GridHandle< BufferT > | getHandle (const Map &map, const std::string &name="", const OracleT &oracle=OracleT(), const BufferT &buffer=BufferT()) |
| Return an instance of a GridHandle (invoking move semantics)
|
|
template<typename Func > |
void | operator() (const Func &func, const CoordBBox &bbox, ValueT delta=ValueT(0)) |
| Sets grids values in domain of the bbox to those returned by the specified func with the expected signature [](const Coord&)->ValueT.
|
|
template<
typename ValueT,
typename BuildT = ValueT,
typename StatsT = Stats<ValueT>>
class nanovdb::GridBuilder< ValueT, BuildT, StatsT >
Allows for the construction of NanoVDB grids without any dependency.