Public Member Functions | |
| DecimateResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| DecimateResult () | |
| DecimateResult (int vertsDeleted, int facesDeleted, float errorIntroduced, boolean cancelled) | |
| DecimateResult (meshlib.DecimateResult _other) | |
| meshlib.DecimateResult | assignFromAnother (meshlib.DecimateResult _other) |
| int | vertsDeleted () |
| void | setVertsDeleted (int value) |
| int | facesDeleted () |
| void | setFacesDeleted (int value) |
| float | errorIntroduced () |
| void | setErrorIntroduced (float value) |
| boolean | cancelled () |
| void | setCancelled (boolean value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
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) | |
| meshlib.DecimateResult.DecimateResult | ( | 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.DecimateResult.DecimateResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_DecimateResult_DefaultConstruct().
| meshlib.DecimateResult.DecimateResult | ( | int | vertsDeleted, |
| int | facesDeleted, | ||
| float | errorIntroduced, | ||
| boolean | cancelled ) |
Constructs MR::DecimateResult elementwise.
Calls MR_DecimateResult_ConstructFrom().
| meshlib.DecimateResult.DecimateResult | ( | meshlib.DecimateResult | _other | ) |
Generated from constructor MR::DecimateResult::DecimateResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_DecimateResult_ConstructFromAnother().
| meshlib.DecimateResult meshlib.DecimateResult.assignFromAnother | ( | meshlib.DecimateResult | _other | ) |
Generated from method MR::DecimateResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_DecimateResult_AssignFromAnother().
| boolean meshlib.DecimateResult.cancelled | ( | ) |
whether the algorithm was cancelled by the callback Returns a pointer to a member variable of class MR::DecimateResult named cancelled. The reference to this object might be preserved as the return value.
Calls MR_DecimateResult_Get_cancelled().
| float meshlib.DecimateResult.errorIntroduced | ( | ) |
for DecimateStrategy.MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy.ShortestEdgeFirst: the shortest remaining edge in the mesh Returns a pointer to a member variable of class MR::DecimateResult named errorIntroduced. The reference to this object might be preserved as the return value.
Calls MR_DecimateResult_Get_errorIntroduced().
| int meshlib.DecimateResult.facesDeleted | ( | ) |
< Number deleted faces Returns a pointer to a member variable of class MR::DecimateResult named facesDeleted. The reference to this object might be preserved as the return value.
Calls MR_DecimateResult_Get_facesDeleted().
| void meshlib.DecimateResult.setCancelled | ( | boolean | value | ) |
whether the algorithm was cancelled by the callback Modifies a member variable of class MR::DecimateResult named cancelled.
Calls MR_DecimateResult_Set_cancelled().
| void meshlib.DecimateResult.setErrorIntroduced | ( | float | value | ) |
for DecimateStrategy.MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy.ShortestEdgeFirst: the shortest remaining edge in the mesh Modifies a member variable of class MR::DecimateResult named errorIntroduced.
Calls MR_DecimateResult_Set_errorIntroduced().
| void meshlib.DecimateResult.setFacesDeleted | ( | int | value | ) |
< Number deleted faces Modifies a member variable of class MR::DecimateResult named facesDeleted.
Calls MR_DecimateResult_Set_facesDeleted().
| void meshlib.DecimateResult.setVertsDeleted | ( | int | value | ) |
< Number deleted verts. Same as the number of performed collapses Modifies a member variable of class MR::DecimateResult named vertsDeleted.
Calls MR_DecimateResult_Set_vertsDeleted().
| int meshlib.DecimateResult.vertsDeleted | ( | ) |
< Number deleted verts. Same as the number of performed collapses Returns a pointer to a member variable of class MR::DecimateResult named vertsDeleted. The reference to this object might be preserved as the return value.
Calls MR_DecimateResult_Get_vertsDeleted().