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

Public Member Functions

 __init__ (self, *args, **kwargs)
float adaptivity (self)
Const_func_bool_from_float cb (self)
float isoValue (self)
int maxFaces (self)
int maxVertices (self)
bool relaxDisorientedTriangles (self)
ConstVector3f voxelSize (self)

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__()

mrmeshpy.ConstGridToMeshSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstGridToMeshSettings) -> None

2. __init__(self: meshlib.mrmeshpy.ConstGridToMeshSettings, arg0: meshlib.mrmeshpy.ConstGridToMeshSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstGridToMeshSettings, voxelSize: meshlib.mrmeshpy.ConstVector3f, isoValue: float, adaptivity: float, maxFaces: int, maxVertices: int, relaxDisorientedTriangles: bool, cb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstGridToMeshSettings, : meshlib.mrmeshpy.ConstGridToMeshSettings) -> None

Member Function Documentation

◆ adaptivity()

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

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

◆ cb()

Const_func_bool_from_float mrmeshpy.ConstGridToMeshSettings.cb ( self)
to receive progress and request cancellation

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

◆ isoValue()

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

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

◆ maxFaces()

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

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

◆ maxVertices()

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

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

◆ relaxDisorientedTriangles()

bool mrmeshpy.ConstGridToMeshSettings.relaxDisorientedTriangles ( self)

◆ voxelSize()

ConstVector3f mrmeshpy.ConstGridToMeshSettings.voxelSize ( self)
the size of each voxel in the grid

Reimplemented in mrmeshpy.GridToMeshSettings, and mrmeshpy.GridToMeshSettings.

Member Data Documentation

◆ _offsetof_adaptivity

typing mrmeshpy.ConstGridToMeshSettings._offsetof_adaptivity = 16
staticprotected

◆ _offsetof_cb

typing mrmeshpy.ConstGridToMeshSettings._offsetof_cb = 32
staticprotected

◆ _offsetof_isoValue

typing mrmeshpy.ConstGridToMeshSettings._offsetof_isoValue = 12
staticprotected

◆ _offsetof_maxFaces

typing mrmeshpy.ConstGridToMeshSettings._offsetof_maxFaces = 20
staticprotected

◆ _offsetof_maxVertices

typing mrmeshpy.ConstGridToMeshSettings._offsetof_maxVertices = 24
staticprotected

◆ _offsetof_relaxDisorientedTriangles

typing mrmeshpy.ConstGridToMeshSettings._offsetof_relaxDisorientedTriangles = 28
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.ConstGridToMeshSettings._offsetof_voxelSize = 0
staticprotected

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