Public Member Functions | |
| SplineSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| SplineSettings () | |
| SplineSettings (float samplingStep, float controlStability, int iterations, meshlib.std_vector_MR_Vector3f normals, boolean normalsAffectShape) | |
| SplineSettings (meshlib.SplineSettings _other) | |
| meshlib.SplineSettings | assignFromAnother (meshlib.SplineSettings _other) |
| float | samplingStep () |
| void | setSamplingStep (float value) |
| float | controlStability () |
| void | setControlStability (float value) |
| int | iterations () |
| void | setIterations (int value) |
| java.lang.foreign.MemorySegment | normals () |
| void | setNormals (meshlib.std_vector_MR_Vector3f value) |
| boolean | normalsAffectShape () |
| void | setNormalsAffectShape (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) | |
Generated from class MR::SplineSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.SplineSettings.SplineSettings | ( | 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.SplineSettings.SplineSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SplineSettings_DefaultConstruct().
| meshlib.SplineSettings.SplineSettings | ( | float | samplingStep, |
| float | controlStability, | ||
| int | iterations, | ||
| meshlib.std_vector_MR_Vector3f | normals, | ||
| boolean | normalsAffectShape ) |
Constructs MR::SplineSettings elementwise. The reference to the parameter normals might be preserved in the constructed object.
Calls MR_SplineSettings_ConstructFrom().
| meshlib.SplineSettings.SplineSettings | ( | meshlib.SplineSettings | _other | ) |
Generated from constructor MR::SplineSettings::SplineSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SplineSettings_ConstructFromAnother().
| meshlib.SplineSettings meshlib.SplineSettings.assignFromAnother | ( | meshlib.SplineSettings | _other | ) |
Generated from method MR::SplineSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SplineSettings_AssignFromAnother().
| float meshlib.SplineSettings.controlStability | ( | ) |
a positive value, the more the value the closer resulting spline will be to given control points Returns a pointer to a member variable of class MR::SplineSettings named controlStability. The reference to this object might be preserved as the return value.
Calls MR_SplineSettings_Get_controlStability().
| int meshlib.SplineSettings.iterations | ( | ) |
the shape of resulting spline depends on the total number of points in the contour, which in turn depends on the length of input contour being sampled; setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm Returns a pointer to a member variable of class MR::SplineSettings named iterations. The reference to this object might be preserved as the return value.
Calls MR_SplineSettings_Get_iterations().
| java.lang.foreign.MemorySegment meshlib.SplineSettings.normals | ( | ) |
optional parameter with the normals of input points that will be resampled to become normals of output points Returns a pointer to a member variable of class MR::SplineSettings named normals. The reference to this object might be preserved as the return value.
Calls MR_SplineSettings_Get_normals(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.SplineSettings.normalsAffectShape | ( | ) |
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there Returns a pointer to a member variable of class MR::SplineSettings named normalsAffectShape. The reference to this object might be preserved as the return value.
Calls MR_SplineSettings_Get_normalsAffectShape().
| float meshlib.SplineSettings.samplingStep | ( | ) |
additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance Returns a pointer to a member variable of class MR::SplineSettings named samplingStep. The reference to this object might be preserved as the return value.
Calls MR_SplineSettings_Get_samplingStep().
| void meshlib.SplineSettings.setControlStability | ( | float | value | ) |
a positive value, the more the value the closer resulting spline will be to given control points Modifies a member variable of class MR::SplineSettings named controlStability.
Calls MR_SplineSettings_Set_controlStability().
| void meshlib.SplineSettings.setIterations | ( | int | value | ) |
the shape of resulting spline depends on the total number of points in the contour, which in turn depends on the length of input contour being sampled; setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm Modifies a member variable of class MR::SplineSettings named iterations.
Calls MR_SplineSettings_Set_iterations().
| void meshlib.SplineSettings.setNormals | ( | meshlib.std_vector_MR_Vector3f | value | ) |
optional parameter with the normals of input points that will be resampled to become normals of output points Modifies a member variable of class MR::SplineSettings named normals. The reference to the parameter value might be preserved in this object in element normals.
Calls MR_SplineSettings_Set_normals().
| void meshlib.SplineSettings.setNormalsAffectShape | ( | boolean | value | ) |
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there Modifies a member variable of class MR::SplineSettings named normalsAffectShape.
Calls MR_SplineSettings_Set_normalsAffectShape().
| void meshlib.SplineSettings.setSamplingStep | ( | float | value | ) |
additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance Modifies a member variable of class MR::SplineSettings named samplingStep.
Calls MR_SplineSettings_Set_samplingStep().