Classes | |
class | CachingMode |
Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector3f origin, func_bool_from_float cb, float iso, bool lessInside, Vector_VoxelId_FaceId outVoxelPerFaceMap, func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner, int maxVertices, MarchingCubesParams.CachingMode cachingMode, func_void freeVolume) |
func_bool_from_float | cb (self) |
None | cb (self, func_bool_from_float arg1) |
func_void | freeVolume (self) |
None | freeVolume (self, func_void arg1) |
float | iso (self) |
None | iso (self, float arg1) |
bool | lessInside (self) |
None | lessInside (self, bool arg1) |
int | maxVertices (self) |
None | maxVertices (self, int arg1) |
Vector3f | origin (self) |
None | origin (self, Vector3f arg1) |
Vector_VoxelId_FaceId | outVoxelPerFaceMap (self) |
None | outVoxelPerFaceMap (self, Vector_VoxelId_FaceId arg1) |
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float | positioner (self) |
None | positioner (self, func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
MarchingCubesParams | operator (*args, **kwargs) |
MarchingCubesParams | operator (*args, **kwargs) |
Static Public Attributes | |
MarchingCubesParams | cachingMode .CachingMode |
Static Protected Attributes | |
typing | _offsetof_cb = 16 |
typing | _offsetof_freeVolume = 104 |
typing | _offsetof_iso = 48 |
typing | _offsetof_lessInside = 52 |
typing | _offsetof_maxVertices = 96 |
typing | _offsetof_origin = 0 |
typing | _offsetof_outVoxelPerFaceMap = 56 |
typing | _offsetof_positioner = 64 |
Generated from: MR::MarchingCubesParams
|
static |
None mrmeshpy.MarchingCubesParams.__init__ | ( | self | ) |
None mrmeshpy.MarchingCubesParams.__init__ | ( | self, | |
Vector3f | origin, | ||
func_bool_from_float | cb, | ||
float | iso, | ||
bool | lessInside, | ||
Vector_VoxelId_FaceId | outVoxelPerFaceMap, | ||
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float | positioner, | ||
int | maxVertices, | ||
MarchingCubesParams.CachingMode | cachingMode, | ||
func_void | freeVolume ) |
Implicit aggregate constructor.
func_bool_from_float mrmeshpy.MarchingCubesParams.cb | ( | self | ) |
progress callback
None mrmeshpy.MarchingCubesParams.cb | ( | self, | |
func_bool_from_float | arg1 ) |
func_void mrmeshpy.MarchingCubesParams.freeVolume | ( | self | ) |
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption
None mrmeshpy.MarchingCubesParams.freeVolume | ( | self, | |
func_void | arg1 ) |
float mrmeshpy.MarchingCubesParams.iso | ( | self | ) |
target iso-value of the surface to be extracted from volume
None mrmeshpy.MarchingCubesParams.iso | ( | self, | |
float | arg1 ) |
bool mrmeshpy.MarchingCubesParams.lessInside | ( | self | ) |
should be false for dense volumes, and true for distance volume
None mrmeshpy.MarchingCubesParams.lessInside | ( | self, | |
bool | arg1 ) |
int mrmeshpy.MarchingCubesParams.maxVertices | ( | self | ) |
if the mesh exceeds this number of vertices, an error returns
None mrmeshpy.MarchingCubesParams.maxVertices | ( | self, | |
int | arg1 ) |
|
static |
|
static |
Vector3f mrmeshpy.MarchingCubesParams.origin | ( | self | ) |
origin point of voxels box in 3D space with output mesh
None mrmeshpy.MarchingCubesParams.origin | ( | self, | |
Vector3f | arg1 ) |
Vector_VoxelId_FaceId mrmeshpy.MarchingCubesParams.outVoxelPerFaceMap | ( | self | ) |
optional output map FaceId->VoxelId
None mrmeshpy.MarchingCubesParams.outVoxelPerFaceMap | ( | self, | |
Vector_VoxelId_FaceId | arg1 ) |
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float mrmeshpy.MarchingCubesParams.positioner | ( | self | ) |
function to calculate position of result mesh points if the function isn't set, a linear positioner will be used note: this function is called in parallel from different threads
None mrmeshpy.MarchingCubesParams.positioner | ( | self, | |
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |