MeshLib Documentation
Loading...
Searching...
No Matches
MR::MeshVoxelsConverter Struct Reference

#include <MRBoolean.h>

Public Member Functions

FloatGrid operator() (const MeshPart &mp, const AffineXf3f &xf={}) const
 
MRVOXELS_API FloatGrid operator() (const ObjectMesh &obj) const
 
MRVOXELS_API Mesh operator() (const FloatGrid &grid) const
 

Public Attributes

float voxelSize = 0.001f
 
float surfaceOffset = 3
 
ProgressCallback callBack
 
float offsetVoxels = 0
 
float adaptivity = 0
 

Member Function Documentation

◆ operator()() [1/3]

MRVOXELS_API Mesh MR::MeshVoxelsConverter::operator() ( const FloatGrid & grid) const

◆ operator()() [2/3]

FloatGrid MR::MeshVoxelsConverter::operator() ( const MeshPart & mp,
const AffineXf3f & xf = {} ) const
inline

◆ operator()() [3/3]

MRVOXELS_API FloatGrid MR::MeshVoxelsConverter::operator() ( const ObjectMesh & obj) const

Member Data Documentation

◆ adaptivity

float MR::MeshVoxelsConverter::adaptivity = 0

◆ callBack

ProgressCallback MR::MeshVoxelsConverter::callBack

◆ offsetVoxels

float MR::MeshVoxelsConverter::offsetVoxels = 0

◆ surfaceOffset

float MR::MeshVoxelsConverter::surfaceOffset = 3

◆ voxelSize

float MR::MeshVoxelsConverter::voxelSize = 0.001f

The documentation for this struct was generated from the following file: