Static Public Member Functions | |
| static meshlib.GeneralOffsetParameters | staticDowncastFromBaseShellParameters (meshlib.BaseShellParameters object) |
| static meshlib.GeneralOffsetParameters | staticDowncastFromOffsetParameters (meshlib.OffsetParameters object) |
| static meshlib.GeneralOffsetParameters | staticDowncastFromSharpOffsetParameters (meshlib.SharpOffsetParameters object) |
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) | |
allows the user to select in the parameters which offset algorithm to call Generated from class MR::GeneralOffsetParameters. Base classes: Direct: (non-virtual) MR::SharpOffsetParameters Indirect: (non-virtual) MR::BaseShellParameters MR::OffsetParameters
Instances created here own their C++ objects, see CppObject.
| meshlib.GeneralOffsetParameters.GeneralOffsetParameters | ( | 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.GeneralOffsetParameters.GeneralOffsetParameters | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_GeneralOffsetParameters_DefaultConstruct().
| meshlib.GeneralOffsetParameters.GeneralOffsetParameters | ( | meshlib.GeneralOffsetParameters | _other | ) |
Generated from constructor MR::GeneralOffsetParameters::GeneralOffsetParameters. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_GeneralOffsetParameters_ConstructFromAnother().
| meshlib.GeneralOffsetParameters meshlib.GeneralOffsetParameters.assignFromAnother | ( | meshlib.GeneralOffsetParameters | _other | ) |
Generated from method MR::GeneralOffsetParameters::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_GeneralOffsetParameters_AssignFromAnother().
| meshlib.std_function_bool_from_float meshlib.GeneralOffsetParameters.callBack | ( | ) |
Progress callback Returns a pointer to a member variable of class MR::GeneralOffsetParameters named callBack. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_callBack().
| boolean meshlib.GeneralOffsetParameters.closeHolesInHoleWindingNumber | ( | ) |
whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber Returns a pointer to a member variable of class MR::GeneralOffsetParameters named closeHolesInHoleWindingNumber. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_closeHolesInHoleWindingNumber().
| meshlib.std_shared_ptr_MR_IFastWindingNumber meshlib.GeneralOffsetParameters.fwn | ( | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used this only used if signDetectionMode == SignDetectionMode.HoleWindingRule, otherwise it is ignored providing this will disable memoryEfficient (as if memoryEfficient == false) Returns a pointer to a member variable of class MR::GeneralOffsetParameters named fwn. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_fwn().
| int meshlib.GeneralOffsetParameters.maxDeletedComponentFaces | ( | ) |
if positive, then after sharpening every connected component with not more than this number of triangles intersecting a larger component is deleted; such tiny fragments appear near sharp creases Returns a pointer to a member variable of class MR::GeneralOffsetParameters named maxDeletedComponentFaces. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_maxDeletedComponentFaces().
| float meshlib.GeneralOffsetParameters.maxNewRank2VertDev | ( | ) |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize Returns a pointer to a member variable of class MR::GeneralOffsetParameters named maxNewRank2VertDev. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_maxNewRank2VertDev().
| float meshlib.GeneralOffsetParameters.maxNewRank3VertDev | ( | ) |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize Returns a pointer to a member variable of class MR::GeneralOffsetParameters named maxNewRank3VertDev. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_maxNewRank3VertDev().
| float meshlib.GeneralOffsetParameters.maxOldVertPosCorrection | ( | ) |
correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize; big correction can be wrong and result from self-intersections in the reference mesh Returns a pointer to a member variable of class MR::GeneralOffsetParameters named maxOldVertPosCorrection. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_maxOldVertPosCorrection().
| boolean meshlib.GeneralOffsetParameters.memoryEfficient | ( | ) |
use FunctionVolume for voxel grid representation:
Calls MR_GeneralOffsetParameters_Get_memoryEfficient().
| float meshlib.GeneralOffsetParameters.minNewVertDev | ( | ) |
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize Returns a pointer to a member variable of class MR::GeneralOffsetParameters named minNewVertDev. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_minNewVertDev().
| meshlib.OffsetMode meshlib.GeneralOffsetParameters.mode | ( | ) |
Returns a pointer to a member variable of class MR::GeneralOffsetParameters named mode. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_mode().
| java.lang.foreign.MemorySegment meshlib.GeneralOffsetParameters.outSharpEdges | ( | ) |
if non-null then created sharp edges will be saved here Returns a pointer to a member variable of class MR::GeneralOffsetParameters named outSharpEdges. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_outSharpEdges(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.GeneralOffsetParameters.outVoxelPerFace | ( | ) |
if non-null then for each output mesh face maps its voxel id Returns a pointer to a member variable of class MR::GeneralOffsetParameters named outVoxelPerFace. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_outVoxelPerFace(). Some types are raw C types, see the C bindings for the details.
| void meshlib.GeneralOffsetParameters.setCallBack | ( | meshlib.std_function_bool_from_float | value | ) |
Progress callback Modifies a member variable of class MR::GeneralOffsetParameters named callBack. The reference to the parameter value might be preserved in this object in element callBack.
Calls MR_GeneralOffsetParameters_Set_callBack().
| void meshlib.GeneralOffsetParameters.setCloseHolesInHoleWindingNumber | ( | boolean | value | ) |
whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber Modifies a member variable of class MR::GeneralOffsetParameters named closeHolesInHoleWindingNumber.
Calls MR_GeneralOffsetParameters_Set_closeHolesInHoleWindingNumber().
| void meshlib.GeneralOffsetParameters.setFwn | ( | meshlib.std_shared_ptr_MR_IFastWindingNumber | value | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used this only used if signDetectionMode == SignDetectionMode.HoleWindingRule, otherwise it is ignored providing this will disable memoryEfficient (as if memoryEfficient == false) Modifies a member variable of class MR::GeneralOffsetParameters named fwn. The reference to the parameter value might be preserved in this object in element fwn.
Calls MR_GeneralOffsetParameters_Set_fwn().
| void meshlib.GeneralOffsetParameters.setMaxDeletedComponentFaces | ( | int | value | ) |
if positive, then after sharpening every connected component with not more than this number of triangles intersecting a larger component is deleted; such tiny fragments appear near sharp creases Modifies a member variable of class MR::GeneralOffsetParameters named maxDeletedComponentFaces.
Calls MR_GeneralOffsetParameters_Set_maxDeletedComponentFaces().
| void meshlib.GeneralOffsetParameters.setMaxNewRank2VertDev | ( | float | value | ) |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize Modifies a member variable of class MR::GeneralOffsetParameters named maxNewRank2VertDev.
Calls MR_GeneralOffsetParameters_Set_maxNewRank2VertDev().
| void meshlib.GeneralOffsetParameters.setMaxNewRank3VertDev | ( | float | value | ) |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize Modifies a member variable of class MR::GeneralOffsetParameters named maxNewRank3VertDev.
Calls MR_GeneralOffsetParameters_Set_maxNewRank3VertDev().
| void meshlib.GeneralOffsetParameters.setMaxOldVertPosCorrection | ( | float | value | ) |
correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize; big correction can be wrong and result from self-intersections in the reference mesh Modifies a member variable of class MR::GeneralOffsetParameters named maxOldVertPosCorrection.
Calls MR_GeneralOffsetParameters_Set_maxOldVertPosCorrection().
| void meshlib.GeneralOffsetParameters.setMemoryEfficient | ( | boolean | value | ) |
use FunctionVolume for voxel grid representation:
Calls MR_GeneralOffsetParameters_Set_memoryEfficient().
| void meshlib.GeneralOffsetParameters.setMinNewVertDev | ( | float | value | ) |
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize Modifies a member variable of class MR::GeneralOffsetParameters named minNewVertDev.
Calls MR_GeneralOffsetParameters_Set_minNewVertDev().
| void meshlib.GeneralOffsetParameters.setMode | ( | meshlib.OffsetMode | value | ) |
Modifies a member variable of class MR::GeneralOffsetParameters named mode. The reference to the parameter value might be preserved in this object in element mode.
Calls MR_GeneralOffsetParameters_Set_mode().
| void meshlib.GeneralOffsetParameters.setOutSharpEdges | ( | meshlib.UndirectedEdgeBitSet | value | ) |
if non-null then created sharp edges will be saved here Modifies a member variable of class MR::GeneralOffsetParameters named outSharpEdges. The reference to the parameter value might be preserved in this object in element outSharpEdges.
Calls MR_GeneralOffsetParameters_Set_outSharpEdges().
| void meshlib.GeneralOffsetParameters.setOutVoxelPerFace | ( | meshlib.Vector_MR_VoxelId_MR_FaceId | value | ) |
if non-null then for each output mesh face maps its voxel id Modifies a member variable of class MR::GeneralOffsetParameters named outVoxelPerFace. The reference to the parameter value might be preserved in this object in element outVoxelPerFace.
Calls MR_GeneralOffsetParameters_Set_outVoxelPerFace().
| void meshlib.GeneralOffsetParameters.setSignDetectionMode | ( | meshlib.SignDetectionMode | value | ) |
determines the method to compute distance sign; offsetMesh implementing OffsetMode.Smooth supports only Unsigned, OpenVDB and HoleWindingRule here Modifies a member variable of class MR::GeneralOffsetParameters named signDetectionMode. The reference to the parameter value might be preserved in this object in element signDetectionMode.
Calls MR_GeneralOffsetParameters_Set_signDetectionMode().
| void meshlib.GeneralOffsetParameters.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 Modifies a member variable of class MR::GeneralOffsetParameters named voxelClamp.
Calls MR_GeneralOffsetParameters_Set_voxelClamp().
| void meshlib.GeneralOffsetParameters.setVoxelSize | ( | float | value | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::GeneralOffsetParameters named voxelSize.
Calls MR_GeneralOffsetParameters_Set_voxelSize().
| void meshlib.GeneralOffsetParameters.setWindingNumberBeta | ( | float | value | ) |
only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::GeneralOffsetParameters named windingNumberBeta.
Calls MR_GeneralOffsetParameters_Set_windingNumberBeta().
| void meshlib.GeneralOffsetParameters.setWindingNumberThreshold | ( | float | value | ) |
only for SignDetectionMode.HoleWindingRule: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::GeneralOffsetParameters named windingNumberThreshold.
Calls MR_GeneralOffsetParameters_Set_windingNumberThreshold().
| meshlib.SignDetectionMode meshlib.GeneralOffsetParameters.signDetectionMode | ( | ) |
determines the method to compute distance sign; offsetMesh implementing OffsetMode.Smooth supports only Unsigned, OpenVDB and HoleWindingRule here Returns a pointer to a member variable of class MR::GeneralOffsetParameters named signDetectionMode. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_signDetectionMode().
|
static |
Static downcast from the base class MR::BaseShellParameters. Undefined behavior if the object isn't actually a GeneralOffsetParameters. The result refers to object.
Calls MR_GeneralOffsetParameters_MutableStaticDowncastFrom_MR_BaseShellParameters().
|
static |
Static downcast from the base class MR::OffsetParameters. Undefined behavior if the object isn't actually a GeneralOffsetParameters. The result refers to object.
Calls MR_GeneralOffsetParameters_MutableStaticDowncastFrom_MR_OffsetParameters().
|
static |
Static downcast from the base class MR::SharpOffsetParameters. Undefined behavior if the object isn't actually a GeneralOffsetParameters. The result refers to object.
Calls MR_GeneralOffsetParameters_MutableStaticDowncastFrom_MR_SharpOffsetParameters().
| meshlib.BaseShellParameters meshlib.GeneralOffsetParameters.upcastToBaseShellParameters | ( | ) |
Upcasts to the base class MR::BaseShellParameters. The result refers to this object.
Calls MR_GeneralOffsetParameters_MutableUpcastTo_MR_BaseShellParameters().
| meshlib.OffsetParameters meshlib.GeneralOffsetParameters.upcastToOffsetParameters | ( | ) |
Upcasts to the base class MR::OffsetParameters. The result refers to this object.
Calls MR_GeneralOffsetParameters_MutableUpcastTo_MR_OffsetParameters().
| meshlib.SharpOffsetParameters meshlib.GeneralOffsetParameters.upcastToSharpOffsetParameters | ( | ) |
Upcasts to the base class MR::SharpOffsetParameters. The result refers to this object.
Calls MR_GeneralOffsetParameters_MutableUpcastTo_MR_SharpOffsetParameters().
| boolean meshlib.GeneralOffsetParameters.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 Returns a pointer to a member variable of class MR::GeneralOffsetParameters named voxelClamp. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_voxelClamp().
| float meshlib.GeneralOffsetParameters.voxelSize | ( | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::GeneralOffsetParameters named voxelSize. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_voxelSize().
| float meshlib.GeneralOffsetParameters.windingNumberBeta | ( | ) |
only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::GeneralOffsetParameters named windingNumberBeta. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_windingNumberBeta().
| float meshlib.GeneralOffsetParameters.windingNumberThreshold | ( | ) |
only for SignDetectionMode.HoleWindingRule: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::GeneralOffsetParameters named windingNumberThreshold. The reference to this object might be preserved as the return value.
Calls MR_GeneralOffsetParameters_Get_windingNumberThreshold().