MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.GridToMeshSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, GridToMeshSettings arg0)
 
None __init__ (self, Vector3f voxelSize, float isoValue, float adaptivity, int maxFaces, int maxVertices, bool relaxDisorientedTriangles, func_bool_from_float cb)
 
float adaptivity (self)
 
None adaptivity (self, float arg1)
 
func_bool_from_float cb (self)
 
None cb (self, func_bool_from_float arg1)
 
float isoValue (self)
 
None isoValue (self, float arg1)
 
int maxFaces (self)
 
None maxFaces (self, int arg1)
 
int maxVertices (self)
 
None maxVertices (self, int arg1)
 
Vector3f voxelSize (self)
 
None voxelSize (self, Vector3f arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::GridToMeshSettings

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.GridToMeshSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None mrmeshpy.GridToMeshSettings.__init__ ( self,
GridToMeshSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None mrmeshpy.GridToMeshSettings.__init__ ( self,
Vector3f voxelSize,
float isoValue,
float adaptivity,
int maxFaces,
int maxVertices,
bool relaxDisorientedTriangles,
func_bool_from_float cb )
Implicit aggregate constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.GridToMeshSettings._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ adaptivity() [1/2]

float mrmeshpy.GridToMeshSettings.adaptivity ( self)
adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values)

◆ adaptivity() [2/2]

None mrmeshpy.GridToMeshSettings.adaptivity ( self,
float arg1 )

◆ cb() [1/2]

func_bool_from_float mrmeshpy.GridToMeshSettings.cb ( self)
to receive progress and request cancellation

◆ cb() [2/2]

None mrmeshpy.GridToMeshSettings.cb ( self,
func_bool_from_float arg1 )

◆ isoValue() [1/2]

float mrmeshpy.GridToMeshSettings.isoValue ( self)
layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids

◆ isoValue() [2/2]

None mrmeshpy.GridToMeshSettings.isoValue ( self,
float arg1 )

◆ maxFaces() [1/2]

int mrmeshpy.GridToMeshSettings.maxFaces ( self)
if the mesh exceeds this number of faces, an error returns

◆ maxFaces() [2/2]

None mrmeshpy.GridToMeshSettings.maxFaces ( self,
int arg1 )

◆ maxVertices() [1/2]

int mrmeshpy.GridToMeshSettings.maxVertices ( self)
if the mesh exceeds this number of vertices, an error returns

◆ maxVertices() [2/2]

None mrmeshpy.GridToMeshSettings.maxVertices ( self,
int arg1 )

◆ voxelSize() [1/2]

Vector3f mrmeshpy.GridToMeshSettings.voxelSize ( self)
the size of each voxel in the grid

◆ voxelSize() [2/2]

None mrmeshpy.GridToMeshSettings.voxelSize ( self,
Vector3f arg1 )

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