Public Member Functions | |
| auto | convert_to_mr_affine_xf3f () const -> meshlib::AffineXf3f |
| auto | assign_from_another (_other:&meshlib::DistanceMapToWorld) -> &mut meshlib::DistanceMapToWorld |
| auto | to_world (x:f32, y:f32, depth:f32) const -> meshlib::Vector3f |
| auto | xf () const -> meshlib::AffineXf3f |
| auto | org_point () const -> &meshlib::Vector3f |
| auto | org_point_mut () -> &mut meshlib::Vector3f |
| void | set_org_point (value:meshlib::Vector3f) |
| auto | pixel_x_vec () const -> &meshlib::Vector3f |
| auto | pixel_x_vec_mut () -> &mut meshlib::Vector3f |
| void | set_pixel_x_vec (value:meshlib::Vector3f) |
| auto | pixel_y_vec () const -> &meshlib::Vector3f |
| auto | pixel_y_vec_mut () -> &mut meshlib::Vector3f |
| void | set_pixel_y_vec (value:meshlib::Vector3f) |
| auto | direction () const -> &meshlib::Vector3f |
| auto | direction_mut () -> &mut meshlib::Vector3f |
| void | set_direction (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DistanceMapToWorld > |
| static auto | construct_from_another (_other:&meshlib::DistanceMapToWorld) -> meshlib::Owned< meshlib::DistanceMapToWorld > |
| static auto | construct_mr_mesh_to_distance_map_params (params:&meshlib::MeshToDistanceMapParams) -> meshlib::Owned< meshlib::DistanceMapToWorld > |
| static auto | construct_mr_contour_to_distance_map_params (params:&meshlib::ContourToDistanceMapParams) -> meshlib::Owned< meshlib::DistanceMapToWorld > |
| static auto | construct_mr_affine_xf3f (xf:&meshlib::AffineXf3f) -> meshlib::Owned< meshlib::DistanceMapToWorld > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
This structure store data to transform distance map to world coordinates Generated from class MR::DistanceMapToWorld.
Generated from class MR::DistanceMapToWorld. Heap-allocated instances are held in Owned<DistanceMapToWorld>.
| auto meshlib::DistanceMapToWorld::assign_from_another | ( | _other:&meshlib::DistanceMapToWorld | ) | -> &mut meshlib::DistanceMapToWorld |
Generated from method MR::DistanceMapToWorld::operator=.
Calls MR_DistanceMapToWorld_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld.
Calls MR_DistanceMapToWorld_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Converts from AffineXf3f Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld.
Calls MR_DistanceMapToWorld_Construct_MR_AffineXf3f(). The reference to the parameter xf might be preserved in the constructed object.
|
static |
Init fields by ContourToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld.
Calls MR_DistanceMapToWorld_Construct_MR_ContourToDistanceMapParams(). The reference to the parameter params might be preserved in the constructed object.
|
static |
Init fields by MeshToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld.
Calls MR_DistanceMapToWorld_Construct_MR_MeshToDistanceMapParams(). The reference to the parameter params might be preserved in the constructed object.
| auto meshlib::DistanceMapToWorld::convert_to_mr_affine_xf3f | ( | ) | const -> meshlib::AffineXf3f |
converts in transformation X: X(p) == toWorld( p.x, p.y, p.z ) Generated from conversion operator MR::DistanceMapToWorld::operator MR::AffineXf3f.
Calls MR_DistanceMapToWorld_ConvertTo_MR_AffineXf3f().
| auto meshlib::DistanceMapToWorld::direction | ( | ) | const -> &meshlib::Vector3f |
vector of depth direction
Calls MR_DistanceMapToWorld_Get_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
vector of depth direction
Calls MR_DistanceMapToWorld_GetMutable_direction(). The reference to this object might be preserved as the return value.
|
static |
Default ctor init all fields with zeros, make sure to fill them manually
Calls MR_DistanceMapToWorld_DefaultConstruct().
| auto meshlib::DistanceMapToWorld::org_point | ( | ) | const -> &meshlib::Vector3f |
world coordinates of distance map origin corner Returns a pointer to a member variable of class MR::DistanceMapToWorld named orgPoint.
Calls MR_DistanceMapToWorld_Get_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::org_point_mut | ( | ) | -> &mut meshlib::Vector3f |
world coordinates of distance map origin corner Returns a mutable pointer to a member variable of class MR::DistanceMapToWorld named orgPoint.
Calls MR_DistanceMapToWorld_GetMutable_orgPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::pixel_x_vec | ( | ) | const -> &meshlib::Vector3f |
vector in world space of pixel x positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_Get_pixelXVec(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::pixel_x_vec_mut | ( | ) | -> &mut meshlib::Vector3f |
vector in world space of pixel x positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_GetMutable_pixelXVec(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::pixel_y_vec | ( | ) | const -> &meshlib::Vector3f |
vector in world space of pixel y positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_Get_pixelYVec(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceMapToWorld::pixel_y_vec_mut | ( | ) | -> &mut meshlib::Vector3f |
vector in world space of pixel y positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_GetMutable_pixelYVec(). The reference to this object might be preserved as the return value.
| void meshlib::DistanceMapToWorld::set_direction | ( | value:meshlib::Vector3f | ) |
vector of depth direction
Calls MR_DistanceMapToWorld_Set_direction(). The reference to the parameter value might be preserved in this object in element direction.
| void meshlib::DistanceMapToWorld::set_org_point | ( | value:meshlib::Vector3f | ) |
world coordinates of distance map origin corner Modifies a member variable of class MR::DistanceMapToWorld named orgPoint.
Calls MR_DistanceMapToWorld_Set_orgPoint(). The reference to the parameter value might be preserved in this object in element orgPoint.
| void meshlib::DistanceMapToWorld::set_pixel_x_vec | ( | value:meshlib::Vector3f | ) |
vector in world space of pixel x positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_Set_pixelXVec(). The reference to the parameter value might be preserved in this object in element pixelXVec.
| void meshlib::DistanceMapToWorld::set_pixel_y_vec | ( | value:meshlib::Vector3f | ) |
vector in world space of pixel y positive direction length is equal to pixel size
Calls MR_DistanceMapToWorld_Set_pixelYVec(). The reference to the parameter value might be preserved in this object in element pixelYVec.
| auto meshlib::DistanceMapToWorld::to_world | ( | x:f32 | , |
| y:f32 | , | ||
| depth:f32 | ) const -> meshlib::Vector3f |
get world coordinate by depth map info x - float X coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) y - float Y coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) float depth value (value in distance map, represent depth in world) Generated from method MR::DistanceMapToWorld::toWorld.
Calls MR_DistanceMapToWorld_toWorld().
| auto meshlib::DistanceMapToWorld::xf | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::DistanceMapToWorld::xf.
Calls MR_DistanceMapToWorld_xf().