MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/openvdb / pruneInactive

Function pruneInactive

openvdb/openvdb/python/pyGrid.h:280–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278
279template<typename GridType>
280inline void
281pruneInactive(GridType& grid, const std::optional<typename GridType::ValueType>& value)
282{
283 if (value)
284 tools::pruneInactiveWithValue(grid.tree(), *value);
285 else
286 tools::pruneInactive(grid.tree());
287}
288
289
290template<typename GridType>

Callers 8

initSdfFromMasksFunction · 0.50
doRasterizeSurfaceFunction · 0.50
rasterizeSmoothSpheresFunction · 0.50
deleteFromGroupsFunction · 0.50
uniformPointScatterFunction · 0.50
denseUniformPointScatterFunction · 0.50
nonUniformPointScatterFunction · 0.50

Calls 2

pruneInactiveWithValueFunction · 0.85
treeMethod · 0.45

Tested by

no test coverage detected