Public Member Functions | |
| auto | convert_to_mr_affine_xf3f () const -> meshlib::AffineXf3f |
| auto | assign_from_another (_other:&meshlib::ContourToDistanceMapParams) -> &mut meshlib::ContourToDistanceMapParams |
| auto | to_world (point:meshlib::Vector2f) const -> meshlib::Vector2f |
| auto | xf () const -> meshlib::AffineXf3f |
| auto | pixel_size () const -> &meshlib::Vector2f |
| auto | pixel_size_mut () -> &mut meshlib::Vector2f |
| void | set_pixel_size (value:meshlib::Vector2f) |
| auto | resolution () const -> &meshlib::Vector2i |
| auto | resolution_mut () -> &mut meshlib::Vector2i |
| void | set_resolution (value:meshlib::Vector2i) |
| auto | org_point () const -> &meshlib::Vector2f |
| auto | org_point_mut () -> &mut meshlib::Vector2f |
| void | set_org_point (value:meshlib::Vector2f) |
| auto | with_sign () const -> &bool |
| auto | with_sign_mut () -> &mut bool |
| void | set_with_sign (value:bool) |
Structure with parameters to generate DistanceMap by Contours Generated from class MR::ContourToDistanceMapParams.
Generated from class MR::ContourToDistanceMapParams. Heap-allocated instances are held in Owned<ContourToDistanceMapParams>.
| auto meshlib::ContourToDistanceMapParams::assign_from_another | ( | _other:&meshlib::ContourToDistanceMapParams | ) | -> &mut meshlib::ContourToDistanceMapParams |
Generated from method MR::ContourToDistanceMapParams::operator=.
Calls MR_ContourToDistanceMapParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_Construct_1(). The reference to the parameter toWorld might be preserved in the constructed object.
|
static |
Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_Construct_3(). 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.
|
static |
Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_MR_Vector2f(). 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.
|
static |
Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_std_vector_std_vector_MR_Vector2f(). 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.
|
static |
Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_Construct_4_float(). The reference to the parameter contours might be preserved in the constructed object.
|
static |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams.
Calls MR_ContourToDistanceMapParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ContourToDistanceMapParams::convert_to_mr_affine_xf3f | ( | ) | const -> meshlib::AffineXf3f |
converts in transformation Generated from conversion operator MR::ContourToDistanceMapParams::operator MR::AffineXf3f.
Calls MR_ContourToDistanceMapParams_ConvertTo_MR_AffineXf3f().
|
static |
Default ctor, make sure to fill all fields manually
Calls MR_ContourToDistanceMapParams_DefaultConstruct().
| auto meshlib::ContourToDistanceMapParams::org_point | ( | ) | const -> &meshlib::Vector2f |
< coordinates of origin area corner Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint.
Calls MR_ContourToDistanceMapParams_Get_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::org_point_mut | ( | ) | -> &mut meshlib::Vector2f |
< coordinates of origin area corner Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint.
Calls MR_ContourToDistanceMapParams_GetMutable_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::pixel_size | ( | ) | const -> &meshlib::Vector2f |
< pixel size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize.
Calls MR_ContourToDistanceMapParams_Get_pixelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::pixel_size_mut | ( | ) | -> &mut meshlib::Vector2f |
< pixel size Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize.
Calls MR_ContourToDistanceMapParams_GetMutable_pixelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::resolution | ( | ) | const -> &meshlib::Vector2i |
< distance map size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named resolution.
Calls MR_ContourToDistanceMapParams_Get_resolution(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::resolution_mut | ( | ) | -> &mut meshlib::Vector2i |
< distance map size Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named resolution.
Calls MR_ContourToDistanceMapParams_GetMutable_resolution(). The reference to this object might be preserved as the return value.
| void meshlib::ContourToDistanceMapParams::set_org_point | ( | value:meshlib::Vector2f | ) |
< coordinates of origin area corner Modifies a member variable of class MR::ContourToDistanceMapParams named orgPoint.
Calls MR_ContourToDistanceMapParams_Set_orgPoint(). The reference to the parameter value might be preserved in this object in element orgPoint.
| void meshlib::ContourToDistanceMapParams::set_pixel_size | ( | value:meshlib::Vector2f | ) |
< pixel size Modifies a member variable of class MR::ContourToDistanceMapParams named pixelSize.
Calls MR_ContourToDistanceMapParams_Set_pixelSize(). The reference to the parameter value might be preserved in this object in element pixelSize.
| void meshlib::ContourToDistanceMapParams::set_resolution | ( | value:meshlib::Vector2i | ) |
< distance map size Modifies a member variable of class MR::ContourToDistanceMapParams named resolution.
Calls MR_ContourToDistanceMapParams_Set_resolution(). The reference to the parameter value might be preserved in this object in element resolution.
| void meshlib::ContourToDistanceMapParams::set_with_sign | ( | value:bool | ) |
< 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().
| auto meshlib::ContourToDistanceMapParams::to_world | ( | point:meshlib::Vector2f | ) | const -> meshlib::Vector2f |
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().
| auto meshlib::ContourToDistanceMapParams::with_sign | ( | ) | const -> &bool |
< 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.
Calls MR_ContourToDistanceMapParams_Get_withSign(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::with_sign_mut | ( | ) | -> &mut bool |
< allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named withSign.
Calls MR_ContourToDistanceMapParams_GetMutable_withSign(). The reference to this object might be preserved as the return value.
| auto meshlib::ContourToDistanceMapParams::xf | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::ContourToDistanceMapParams::xf.
Calls MR_ContourToDistanceMapParams_xf().