MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.GridToMeshSettings Class Reference
Inheritance diagram for mrmeshpy.GridToMeshSettings:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstGridToMeshSettings arg0)
None __init__ (self, ConstVector3f voxelSize, float isoValue, float adaptivity, int maxFaces, int maxVertices, bool relaxDisorientedTriangles, Const_func_bool_from_float cb)
GridToMeshSettings assign (self, ConstGridToMeshSettings other)
float adaptivity (self)
None adaptivity (self, float arg1)
func_bool_from_float cb (self)
None cb (self, Const_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, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.ConstGridToMeshSettings
 __init__ (self, *args, **kwargs)
bool relaxDisorientedTriangles (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstGridToMeshSettings
typing _offsetof_adaptivity = 16
typing _offsetof_cb = 32
typing _offsetof_isoValue = 12
typing _offsetof_maxFaces = 20
typing _offsetof_maxVertices = 24
typing _offsetof_relaxDisorientedTriangles = 28
typing _offsetof_voxelSize = 0

Detailed Description

Generated from:  MR::GridToMeshSettings

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.GridToMeshSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.GridToMeshSettings.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ 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)

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ adaptivity() [2/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ assign()

GridToMeshSettings mrmeshpy.GridToMeshSettings.assign ( self,
ConstGridToMeshSettings other )

◆ cb() [1/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ cb() [2/2]

None mrmeshpy.GridToMeshSettings.cb ( self,
Const_func_bool_from_float arg1 )
to receive progress and request cancellation

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ 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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ isoValue() [2/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ maxFaces() [1/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ maxFaces() [2/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ maxVertices() [1/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ maxVertices() [2/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ voxelSize() [1/2]

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

Reimplemented from mrmeshpy.ConstGridToMeshSettings.

◆ voxelSize() [2/2]

None mrmeshpy.GridToMeshSettings.voxelSize ( self,
ConstVector3f arg1 )
the size of each voxel in the grid

Reimplemented from mrmeshpy.ConstGridToMeshSettings.


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