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

Public Member Functions

None __init__ (self)
 
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 Public Member Functions

None __init__ (*args, **kwargs)
 
GridToMeshSettings operator (*args, **kwargs)
 
GridToMeshSettings operator (*args, **kwargs)
 

Static Protected Attributes

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/3]

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

◆ __init__() [2/3]

None mrmeshpy.GridToMeshSettings.__init__ ( self)

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

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

◆ operator() [1/2]

GridToMeshSettings mrmeshpy.GridToMeshSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

GridToMeshSettings mrmeshpy.GridToMeshSettings.operator ( * args,
** kwargs )
static

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

Member Data Documentation

◆ _offsetof_adaptivity

typing mrmeshpy.GridToMeshSettings._offsetof_adaptivity = 16
staticprotected

◆ _offsetof_cb

typing mrmeshpy.GridToMeshSettings._offsetof_cb = 32
staticprotected

◆ _offsetof_isoValue

typing mrmeshpy.GridToMeshSettings._offsetof_isoValue = 12
staticprotected

◆ _offsetof_maxFaces

typing mrmeshpy.GridToMeshSettings._offsetof_maxFaces = 20
staticprotected

◆ _offsetof_maxVertices

typing mrmeshpy.GridToMeshSettings._offsetof_maxVertices = 24
staticprotected

◆ _offsetof_relaxDisorientedTriangles

typing mrmeshpy.GridToMeshSettings._offsetof_relaxDisorientedTriangles = 28
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.GridToMeshSettings._offsetof_voxelSize = 0
staticprotected

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