![]() |
Microflow 3D
v1.0
|
Converts surface mesh to volumetric grid with constant voxelSize spacing. More...
#include <StlMesher.h>
Public Member Functions | |
| StlMesher ()=default | |
| ~StlMesher ()=default | |
| openvdb::FloatGrid::Ptr | readSTLGrid (const std::string &fileName, double voxelSize, bool verbose=false) |
| Reads .stl file with tyti stl reader. More... | |
| openvdb::FloatGrid::Ptr | getVDBGrid_Ptr () |
| Returns VDBGrid shared Ptr. More... | |
Static Public Member Functions | |
| static std::shared_ptr< MF::GB::StlMesher > | New (const std::string &fileName, const double voxelSize, const bool verbose=false) |
Converts surface mesh to volumetric grid with constant voxelSize spacing.
Definition at line 27 of file StlMesher.h.
|
default |
|
default |
|
inline |
Returns VDBGrid shared Ptr.
Definition at line 40 of file StlMesher.h.
|
inlinestatic |
Definition at line 32 of file StlMesher.h.
References readSTLGrid().
Referenced by MF::GB::GeometryBuildFromSTL::Clean().
| openvdb::FloatGrid::Ptr MF::GB::StlMesher::readSTLGrid | ( | const std::string & | fileName, |
| double | voxelSize, | ||
| bool | verbose = false |
||
| ) |
Reads .stl file with tyti stl reader.
Definition at line 12 of file StlMesher.cpp.
Referenced by New().