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) | |
Structure with parameters to generate DistanceMap by Contours Generated from class MR::ContourToDistanceMapParams.
Instances created here own their C++ objects, see CppObject.
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | 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.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | ) |
Default ctor, make sure to fill all fields manually
Calls MR_ContourToDistanceMapParams_DefaultConstruct().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | meshlib.ContourToDistanceMapParams | _other | ) |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_ConstructFromAnother().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | meshlib.Vector2i | resolution, |
| meshlib.Vector2f | oriPoint, | ||
| meshlib.Vector2f | areaSize, | ||
| java.lang.Boolean | withSign ) |
Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter oriPoint might be preserved in the constructed object. The reference to the parameter areaSize might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_MR_Vector2f().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | meshlib.Vector2i | resolution, |
| meshlib.Box2f | box, | ||
| java.lang.Boolean | withSign ) |
Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter box might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_Construct_3().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | meshlib.Vector2i | resolution, |
| meshlib.std_vector_std_vector_MR_Vector2f | contours, | ||
| float | offset, | ||
| java.lang.Boolean | withSign ) |
Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter contours might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_std_vector_std_vector_MR_Vector2f().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | float | pixelSize, |
| meshlib.std_vector_std_vector_MR_Vector2f | contours, | ||
| float | offset, | ||
| java.lang.Boolean | withSign ) |
Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter contours might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_Construct_4_float().
| meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams | ( | meshlib.DistanceMapToWorld | toWorld | ) |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter toWorld might be preserved in the constructed object.
Calls MR_ContourToDistanceMapParams_Construct_1().
| meshlib.ContourToDistanceMapParams meshlib.ContourToDistanceMapParams.assignFromAnother | ( | meshlib.ContourToDistanceMapParams | _other | ) |
Generated from method MR::ContourToDistanceMapParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ContourToDistanceMapParams_AssignFromAnother().
| meshlib.AffineXf3f meshlib.ContourToDistanceMapParams.convertTo_MR_AffineXf3f | ( | ) |
converts in transformation Generated from conversion operator MR::ContourToDistanceMapParams::operator MR::AffineXf3f.
Calls MR_ContourToDistanceMapParams_ConvertTo_MR_AffineXf3f().
| meshlib.Vector2f meshlib.ContourToDistanceMapParams.orgPoint | ( | ) |
< coordinates of origin area corner Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint. The reference to this object might be preserved as the return value.
Calls MR_ContourToDistanceMapParams_Get_orgPoint().
| meshlib.Vector2f meshlib.ContourToDistanceMapParams.pixelSize | ( | ) |
< pixel size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize. The reference to this object might be preserved as the return value.
Calls MR_ContourToDistanceMapParams_Get_pixelSize().
| meshlib.Vector2i meshlib.ContourToDistanceMapParams.resolution | ( | ) |
< distance map size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named resolution. The reference to this object might be preserved as the return value.
Calls MR_ContourToDistanceMapParams_Get_resolution().
| void meshlib.ContourToDistanceMapParams.setOrgPoint | ( | meshlib.Vector2f | value | ) |
< coordinates of origin area corner Modifies a member variable of class MR::ContourToDistanceMapParams named orgPoint. The reference to the parameter value might be preserved in this object in element orgPoint.
Calls MR_ContourToDistanceMapParams_Set_orgPoint().
| void meshlib.ContourToDistanceMapParams.setPixelSize | ( | meshlib.Vector2f | value | ) |
< pixel size Modifies a member variable of class MR::ContourToDistanceMapParams named pixelSize. The reference to the parameter value might be preserved in this object in element pixelSize.
Calls MR_ContourToDistanceMapParams_Set_pixelSize().
| void meshlib.ContourToDistanceMapParams.setResolution | ( | meshlib.Vector2i | value | ) |
< distance map size Modifies a member variable of class MR::ContourToDistanceMapParams named resolution. The reference to the parameter value might be preserved in this object in element resolution.
Calls MR_ContourToDistanceMapParams_Set_resolution().
| void meshlib.ContourToDistanceMapParams.setWithSign | ( | boolean | value | ) |
< allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Modifies a member variable of class MR::ContourToDistanceMapParams named withSign.
Calls MR_ContourToDistanceMapParams_Set_withSign().
| meshlib.Vector2f meshlib.ContourToDistanceMapParams.toWorld | ( | meshlib.Vector2f | point | ) |
get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR::ContourToDistanceMapParams::toWorld.
Calls MR_ContourToDistanceMapParams_toWorld().
| boolean meshlib.ContourToDistanceMapParams.withSign | ( | ) |
< allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named withSign. The reference to this object might be preserved as the return value.
Calls MR_ContourToDistanceMapParams_Get_withSign().
| meshlib.AffineXf3f meshlib.ContourToDistanceMapParams.xf | ( | ) |
Generated from method MR::ContourToDistanceMapParams::xf.
Calls MR_ContourToDistanceMapParams_xf().