Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Generated from class MR::SharpenMarchingCubesMeshSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SharpenMarchingCubesMeshSettings_DefaultConstruct().
| meshlib.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings | ( | float | minNewVertDev, |
| float | maxNewRank2VertDev, | ||
| float | maxNewRank3VertDev, | ||
| float | offset, | ||
| float | maxOldVertPosCorrection, | ||
| int | posSelIters, | ||
| boolean | voxelClamp, | ||
| int | maxDeletedComponentFaces, | ||
| meshlib.Vector3i | dims, | ||
| meshlib.AffineXf3f | gridToMeshXf, | ||
| meshlib.UndirectedEdgeBitSet | outSharpEdges ) |
Constructs MR::SharpenMarchingCubesMeshSettings elementwise. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter gridToMeshXf might be preserved in the constructed object. The reference to the parameter outSharpEdges might be preserved in the constructed object.
Calls MR_SharpenMarchingCubesMeshSettings_ConstructFrom().
| meshlib.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings | ( | meshlib.SharpenMarchingCubesMeshSettings | _other | ) |
Generated from constructor MR::SharpenMarchingCubesMeshSettings::SharpenMarchingCubesMeshSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SharpenMarchingCubesMeshSettings_ConstructFromAnother().
| meshlib.SharpenMarchingCubesMeshSettings meshlib.SharpenMarchingCubesMeshSettings.assignFromAnother | ( | meshlib.SharpenMarchingCubesMeshSettings | _other | ) |
Generated from method MR::SharpenMarchingCubesMeshSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SharpenMarchingCubesMeshSettings_AssignFromAnother().
| meshlib.Vector3i meshlib.SharpenMarchingCubesMeshSettings.dims | ( | ) |
Marching Cubes volume dimensions Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named dims. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_dims().
| meshlib.AffineXf3f meshlib.SharpenMarchingCubesMeshSettings.gridToMeshXf | ( | ) |
transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named gridToMeshXf. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_gridToMeshXf().
| int meshlib.SharpenMarchingCubesMeshSettings.maxDeletedComponentFaces | ( | ) |
if positive, then in the end every connected component with not more than this number of triangles intersecting a component with at least as many triangles is deleted; such tiny fragments appear near sharp creases Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxDeletedComponentFaces. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_maxDeletedComponentFaces().
| float meshlib.SharpenMarchingCubesMeshSettings.maxNewRank2VertDev | ( | ) |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank2VertDev. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank2VertDev().
| float meshlib.SharpenMarchingCubesMeshSettings.maxNewRank3VertDev | ( | ) |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank3VertDev. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank3VertDev().
| float meshlib.SharpenMarchingCubesMeshSettings.maxOldVertPosCorrection | ( | ) |
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxOldVertPosCorrection. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_maxOldVertPosCorrection().
| float meshlib.SharpenMarchingCubesMeshSettings.minNewVertDev | ( | ) |
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named minNewVertDev. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_minNewVertDev().
| float meshlib.SharpenMarchingCubesMeshSettings.offset | ( | ) |
relative to reference mesh Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named offset. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_offset().
| java.lang.foreign.MemorySegment meshlib.SharpenMarchingCubesMeshSettings.outSharpEdges | ( | ) |
if non-null then created sharp edges will be saved here Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named outSharpEdges. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_outSharpEdges(). Some types are raw C types, see the C bindings for the details.
| int meshlib.SharpenMarchingCubesMeshSettings.posSelIters | ( | ) |
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0 Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named posSelIters. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_posSelIters().
| void meshlib.SharpenMarchingCubesMeshSettings.setDims | ( | meshlib.Vector3i | value | ) |
Marching Cubes volume dimensions Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named dims. The reference to the parameter value might be preserved in this object in element dims.
Calls MR_SharpenMarchingCubesMeshSettings_Set_dims().
| void meshlib.SharpenMarchingCubesMeshSettings.setGridToMeshXf | ( | meshlib.AffineXf3f | value | ) |
transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named gridToMeshXf. The reference to the parameter value might be preserved in this object in element gridToMeshXf.
Calls MR_SharpenMarchingCubesMeshSettings_Set_gridToMeshXf().
| void meshlib.SharpenMarchingCubesMeshSettings.setMaxDeletedComponentFaces | ( | int | value | ) |
if positive, then in the end every connected component with not more than this number of triangles intersecting a component with at least as many triangles is deleted; such tiny fragments appear near sharp creases Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxDeletedComponentFaces.
Calls MR_SharpenMarchingCubesMeshSettings_Set_maxDeletedComponentFaces().
| void meshlib.SharpenMarchingCubesMeshSettings.setMaxNewRank2VertDev | ( | float | value | ) |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank2VertDev.
Calls MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank2VertDev().
| void meshlib.SharpenMarchingCubesMeshSettings.setMaxNewRank3VertDev | ( | float | value | ) |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank3VertDev.
Calls MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank3VertDev().
| void meshlib.SharpenMarchingCubesMeshSettings.setMaxOldVertPosCorrection | ( | float | value | ) |
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxOldVertPosCorrection.
Calls MR_SharpenMarchingCubesMeshSettings_Set_maxOldVertPosCorrection().
| void meshlib.SharpenMarchingCubesMeshSettings.setMinNewVertDev | ( | float | value | ) |
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named minNewVertDev.
Calls MR_SharpenMarchingCubesMeshSettings_Set_minNewVertDev().
| void meshlib.SharpenMarchingCubesMeshSettings.setOffset | ( | float | value | ) |
relative to reference mesh Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named offset.
Calls MR_SharpenMarchingCubesMeshSettings_Set_offset().
| void meshlib.SharpenMarchingCubesMeshSettings.setOutSharpEdges | ( | meshlib.UndirectedEdgeBitSet | value | ) |
if non-null then created sharp edges will be saved here Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named outSharpEdges. The reference to the parameter value might be preserved in this object in element outSharpEdges.
Calls MR_SharpenMarchingCubesMeshSettings_Set_outSharpEdges().
| void meshlib.SharpenMarchingCubesMeshSettings.setPosSelIters | ( | int | value | ) |
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0 Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named posSelIters.
Calls MR_SharpenMarchingCubesMeshSettings_Set_posSelIters().
| void meshlib.SharpenMarchingCubesMeshSettings.setVoxelClamp | ( | boolean | value | ) |
if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named voxelClamp.
Calls MR_SharpenMarchingCubesMeshSettings_Set_voxelClamp().
| boolean meshlib.SharpenMarchingCubesMeshSettings.voxelClamp | ( | ) |
if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named voxelClamp. The reference to this object might be preserved as the return value.
Calls MR_SharpenMarchingCubesMeshSettings_Get_voxelClamp().