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

Function volumeToMesh

openvdb/openvdb/python/pyGrid.h:597–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595
596template<typename GridType, typename std::enable_if_t<!std::is_scalar<typename GridType::ValueType>::value>* = nullptr>
597inline std::tuple<nb::ndarray<nb::numpy, float>, nb::ndarray<nb::numpy, Index32>, nb::ndarray<nb::numpy, Index32> >
598volumeToMesh(const GridType&, double, double)
599{
600 OPENVDB_THROW(TypeError, "volume to mesh conversion is supported only for scalar grids");
601}
602
603template<typename GridType, typename std::enable_if_t<std::is_scalar<typename GridType::ValueType>::value>* = nullptr>
604inline std::tuple<nb::ndarray<nb::numpy, float>, nb::ndarray<nb::numpy, Index32>, nb::ndarray<nb::numpy, Index32> >

Callers 2

volumeToQuadMeshFunction · 0.70
TEST_FFunction · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.40