Public Member Functions | |
| auto | convert_to_mr_affine_xf3f () const -> meshlib::AffineXf3f |
| auto | assign_from_another (_other:&meshlib::MeshToDistanceMapParams) -> &mut meshlib::MeshToDistanceMapParams |
| auto | xf () const -> meshlib::AffineXf3f |
| void | set_distance_limits (min:f32, max:f32) |
| auto | x_range () const -> &meshlib::Vector3f |
| auto | x_range_mut () -> &mut meshlib::Vector3f |
| void | set_x_range (value:meshlib::Vector3f) |
| auto | y_range () const -> &meshlib::Vector3f |
| auto | y_range_mut () -> &mut meshlib::Vector3f |
| void | set_y_range (value:meshlib::Vector3f) |
| auto | direction () const -> &meshlib::Vector3f |
| auto | direction_mut () -> &mut meshlib::Vector3f |
| void | set_direction (value:meshlib::Vector3f) |
| auto | org_point () const -> &meshlib::Vector3f |
| auto | org_point_mut () -> &mut meshlib::Vector3f |
| void | set_org_point (value:meshlib::Vector3f) |
| auto | use_distance_limits () const -> &bool |
| auto | use_distance_limits_mut () -> &mut bool |
| void | set_use_distance_limits (value:bool) |
| auto | allow_negative_values () const -> &bool |
| auto | allow_negative_values_mut () -> &mut bool |
| void | set_allow_negative_values (value:bool) |
| auto | min_value () const -> &f32 |
| auto | min_value_mut () -> &mut f32 |
| void | set_min_value (value:f32) |
| auto | max_value () const -> &f32 |
| auto | max_value_mut () -> &mut f32 |
| void | set_max_value (value:f32) |
| auto | resolution () const -> &meshlib::Vector2i |
| auto | resolution_mut () -> &mut meshlib::Vector2i |
| void | set_resolution (value:meshlib::Vector2i) |
Generated from class MR::MeshToDistanceMapParams.
Generated from class MR::MeshToDistanceMapParams. Heap-allocated instances are held in Owned<MeshToDistanceMapParams>.
| auto meshlib::MeshToDistanceMapParams::allow_negative_values | ( | ) | const -> &bool |
< allows to find intersections in backward to direction vector with negative values Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues.
Calls MR_MeshToDistanceMapParams_Get_allowNegativeValues(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::allow_negative_values_mut | ( | ) | -> &mut bool |
< allows to find intersections in backward to direction vector with negative values Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues.
Calls MR_MeshToDistanceMapParams_GetMutable_allowNegativeValues(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::assign_from_another | ( | _other:&meshlib::MeshToDistanceMapParams | ) | -> &mut meshlib::MeshToDistanceMapParams |
Generated from method MR::MeshToDistanceMapParams::operator=.
Calls MR_MeshToDistanceMapParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_3_MR_Vector2f(). The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.
|
static |
The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_3_MR_Vector2i(). The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.
|
static |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector2i_ref(). The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2f(). The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.
|
static |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2i(). The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2f(). The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.
|
static |
direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2i(). The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams.
Calls MR_MeshToDistanceMapParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshToDistanceMapParams::convert_to_mr_affine_xf3f | ( | ) | const -> meshlib::AffineXf3f |
converts in transformation Generated from conversion operator MR::MeshToDistanceMapParams::operator MR::AffineXf3f.
Calls MR_MeshToDistanceMapParams_ConvertTo_MR_AffineXf3f().
| auto meshlib::MeshToDistanceMapParams::direction | ( | ) | const -> &meshlib::Vector3f |
< direction of intersection ray Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named direction.
Calls MR_MeshToDistanceMapParams_Get_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
< direction of intersection ray Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named direction.
Calls MR_MeshToDistanceMapParams_GetMutable_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::max_value | ( | ) | const -> &f32 |
< Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named maxValue.
Calls MR_MeshToDistanceMapParams_Get_maxValue(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::max_value_mut | ( | ) | -> &mut f32 |
< Using of this parameter depends on useDistanceLimits Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named maxValue.
Calls MR_MeshToDistanceMapParams_GetMutable_maxValue(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::min_value | ( | ) | const -> &f32 |
< Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named minValue.
Calls MR_MeshToDistanceMapParams_Get_minValue(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::min_value_mut | ( | ) | -> &mut f32 |
< Using of this parameter depends on useDistanceLimits Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named minValue.
Calls MR_MeshToDistanceMapParams_GetMutable_minValue(). The reference to this object might be preserved as the return value.
|
static |
default constructor. Manual params initialization is required:
Calls MR_MeshToDistanceMapParams_DefaultConstruct().
| auto meshlib::MeshToDistanceMapParams::org_point | ( | ) | const -> &meshlib::Vector3f |
< location of (0,0) pixel with value 0.f Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named orgPoint.
Calls MR_MeshToDistanceMapParams_Get_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::org_point_mut | ( | ) | -> &mut meshlib::Vector3f |
< location of (0,0) pixel with value 0.f Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named orgPoint.
Calls MR_MeshToDistanceMapParams_GetMutable_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::resolution | ( | ) | const -> &meshlib::Vector2i |
< resolution of distance map Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named resolution.
Calls MR_MeshToDistanceMapParams_Get_resolution(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::resolution_mut | ( | ) | -> &mut meshlib::Vector2i |
< resolution of distance map Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named resolution.
Calls MR_MeshToDistanceMapParams_GetMutable_resolution(). The reference to this object might be preserved as the return value.
| void meshlib::MeshToDistanceMapParams::set_allow_negative_values | ( | value:bool | ) |
< allows to find intersections in backward to direction vector with negative values Modifies a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues.
Calls MR_MeshToDistanceMapParams_Set_allowNegativeValues().
| void meshlib::MeshToDistanceMapParams::set_direction | ( | value:meshlib::Vector3f | ) |
< direction of intersection ray Modifies a member variable of class MR::MeshToDistanceMapParams named direction.
Calls MR_MeshToDistanceMapParams_Set_direction(). The reference to the parameter value might be preserved in this object in element direction.
| void meshlib::MeshToDistanceMapParams::set_distance_limits | ( | min:f32 | , |
| max:f32 | ) |
if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative) Generated from method MR::MeshToDistanceMapParams::setDistanceLimits.
Calls MR_MeshToDistanceMapParams_setDistanceLimits().
| void meshlib::MeshToDistanceMapParams::set_max_value | ( | value:f32 | ) |
< Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named maxValue.
Calls MR_MeshToDistanceMapParams_Set_maxValue().
| void meshlib::MeshToDistanceMapParams::set_min_value | ( | value:f32 | ) |
< Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named minValue.
Calls MR_MeshToDistanceMapParams_Set_minValue().
| void meshlib::MeshToDistanceMapParams::set_org_point | ( | value:meshlib::Vector3f | ) |
< location of (0,0) pixel with value 0.f Modifies a member variable of class MR::MeshToDistanceMapParams named orgPoint.
Calls MR_MeshToDistanceMapParams_Set_orgPoint(). The reference to the parameter value might be preserved in this object in element orgPoint.
| void meshlib::MeshToDistanceMapParams::set_resolution | ( | value:meshlib::Vector2i | ) |
< resolution of distance map Modifies a member variable of class MR::MeshToDistanceMapParams named resolution.
Calls MR_MeshToDistanceMapParams_Set_resolution(). The reference to the parameter value might be preserved in this object in element resolution.
| void meshlib::MeshToDistanceMapParams::set_use_distance_limits | ( | value:bool | ) |
< out of limits intersections will be set to non-valid Modifies a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits.
Calls MR_MeshToDistanceMapParams_Set_useDistanceLimits().
| void meshlib::MeshToDistanceMapParams::set_x_range | ( | value:meshlib::Vector3f | ) |
< Cartesian range vector between distance map borders in X direction Modifies a member variable of class MR::MeshToDistanceMapParams named xRange.
Calls MR_MeshToDistanceMapParams_Set_xRange(). The reference to the parameter value might be preserved in this object in element xRange.
| void meshlib::MeshToDistanceMapParams::set_y_range | ( | value:meshlib::Vector3f | ) |
< Cartesian range vector between distance map borders in Y direction Modifies a member variable of class MR::MeshToDistanceMapParams named yRange.
Calls MR_MeshToDistanceMapParams_Set_yRange(). The reference to the parameter value might be preserved in this object in element yRange.
| auto meshlib::MeshToDistanceMapParams::use_distance_limits | ( | ) | const -> &bool |
< out of limits intersections will be set to non-valid Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits.
Calls MR_MeshToDistanceMapParams_Get_useDistanceLimits(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::use_distance_limits_mut | ( | ) | -> &mut bool |
< out of limits intersections will be set to non-valid Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits.
Calls MR_MeshToDistanceMapParams_GetMutable_useDistanceLimits(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::x_range | ( | ) | const -> &meshlib::Vector3f |
< Cartesian range vector between distance map borders in X direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named xRange.
Calls MR_MeshToDistanceMapParams_Get_xRange(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::x_range_mut | ( | ) | -> &mut meshlib::Vector3f |
< Cartesian range vector between distance map borders in X direction Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named xRange.
Calls MR_MeshToDistanceMapParams_GetMutable_xRange(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::xf | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::MeshToDistanceMapParams::xf.
Calls MR_MeshToDistanceMapParams_xf().
| auto meshlib::MeshToDistanceMapParams::y_range | ( | ) | const -> &meshlib::Vector3f |
< Cartesian range vector between distance map borders in Y direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named yRange.
Calls MR_MeshToDistanceMapParams_Get_yRange(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshToDistanceMapParams::y_range_mut | ( | ) | -> &mut meshlib::Vector3f |
< Cartesian range vector between distance map borders in Y direction Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named yRange.
Calls MR_MeshToDistanceMapParams_GetMutable_yRange(). The reference to this object might be preserved as the return value.