MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMinimalSurface.h File Reference

Go to the source code of this file.

Namespaces

namespace  MR
 

Enumerations

enum class  MR::TPMSType : int { MR::SchwartzP , MR::DoubleSchwartzP , MR::Gyroid , MR::DoubleGyroid }
 Supported types of TPMS (Triply Periodic Minimal Surfaces) More...
 

Functions

MRVOXELS_API std::vector< std::string > MR::getTPMSTypeNames ()
 
MRVOXELS_API FunctionVolume MR::buildTPMSVolume (TPMSType type, const Vector3f &size, float frequency, float resolution)
 
MRVOXELS_API Expected< MeshMR::buildTPMS (TPMSType type, const Vector3f &size, float frequency, float resolution, float iso, ProgressCallback cb={})
 Constructs TPMS level-set and then convert it to mesh.
 
MRVOXELS_API Expected< MeshMR::fillWithTPMS (TPMSType type, const Mesh &mesh, float frequency, float resolution, float iso, ProgressCallback cb={})
 Constructs TPMS-filling for the given mesh.
 
MRVOXELS_API size_t MR::getNumberOfVoxelsForTPMS (const Mesh &mesh, float frequency, float resolution)
 Returns number of voxels that would be used to perform fillWithTPMS.