Public Member Functions | |
| void | update_mesh_data (mesh:Option<&meshlib::Mesh >) |
| void | find_projections (result:&mut meshlib::std_vector_MR_MeshProjectionResult, points:&meshlib::VertCoords, objXf:Option<&meshlib::AffineXf3f >, refObjXf:Option<&meshlib::AffineXf3f >, upDistLimitSq:f32, loDistLimitSq:f32) |
| Computes the closest point on mesh to each of given points. | |
| auto | projections_heap_bytes (numProjections:usize) const -> usize |
| auto | upcast_to_i_points_to_mesh_projector () const -> &meshlib::IPointsToMeshProjector |
| auto | upcast_to_i_points_to_mesh_projector_mut () -> &mut meshlib::IPointsToMeshProjector |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointsToMeshProjector > |
| static auto | construct_from_another (_other:&meshlib::PointsToMeshProjector) -> meshlib::Owned< meshlib::PointsToMeshProjector > |
| static auto | static_downcast_from_i_points_to_mesh_projector (object:&meshlib::IPointsToMeshProjector) -> &Self |
| static auto | static_downcast_from_i_points_to_mesh_projector_mut (object:&mut meshlib::IPointsToMeshProjector) -> &mut Self |
| static auto | dynamic_downcast_from_i_points_to_mesh_projector (object:&meshlib::IPointsToMeshProjector) -> Option<&Self > |
| static auto | dynamic_downcast_from_i_points_to_mesh_projector_mut (object:&mut meshlib::IPointsToMeshProjector) -> Option<&mut Self > |
| 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 |
Computes the closest point on mesh to each of given points on CPU Generated from class MR::PointsToMeshProjector. Base classes: Direct: (non-virtual) MR::IPointsToMeshProjector
Generated from class MR::PointsToMeshProjector. Heap-allocated instances are held in Owned<PointsToMeshProjector>.
|
static |
Generated from constructor MR::PointsToMeshProjector::PointsToMeshProjector.
Calls MR_PointsToMeshProjector_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Dynamic downcast from the base class MR::IPointsToMeshProjector. Returns None if the object isn't actually a PointsToMeshProjector.
Calls MR_PointsToMeshProjector_DynamicDowncastFrom_MR_IPointsToMeshProjector().
|
static |
Dynamic downcast from the base class MR::IPointsToMeshProjector. Returns None if the object isn't actually a PointsToMeshProjector.
Calls MR_PointsToMeshProjector_MutableDynamicDowncastFrom_MR_IPointsToMeshProjector().
| void meshlib::PointsToMeshProjector::find_projections | ( | result:&mut meshlib::std_vector_MR_MeshProjectionResult | , |
| points:&meshlib::VertCoords | , | ||
| objXf:Option<&meshlib::AffineXf3f > | , | ||
| refObjXf:Option<&meshlib::AffineXf3f > | , | ||
| upDistLimitSq:f32 | , | ||
| loDistLimitSq:f32 | ) |
Computes the closest point on mesh to each of given points.
| result | vector pf projections |
| points | vector of points to project |
| objXf | transform applied to points |
| refObjXf | transform applied to referencing mesh |
| upDistLimitSq | maximal squared distance from point to mesh |
| loDistLimitSq | minimal squared distance from point to mesh |
Generated from method MR::PointsToMeshProjector::findProjections.
Calls MR_PointsToMeshProjector_findProjections().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointsToMeshProjector_DefaultConstruct().
| auto meshlib::PointsToMeshProjector::projections_heap_bytes | ( | numProjections:usize | ) | const -> usize |
Returns amount of additional memory needed to compute projections Generated from method MR::PointsToMeshProjector::projectionsHeapBytes.
Calls MR_PointsToMeshProjector_projectionsHeapBytes().
|
static |
Static downcast from the base class MR::IPointsToMeshProjector.
Calls MR_PointsToMeshProjector_StaticDowncastFrom_MR_IPointsToMeshProjector(). Undefined behavior if the object isn't actually a PointsToMeshProjector.
|
static |
Static downcast from the base class MR::IPointsToMeshProjector.
Calls MR_PointsToMeshProjector_MutableStaticDowncastFrom_MR_IPointsToMeshProjector(). Undefined behavior if the object isn't actually a PointsToMeshProjector.
| auto meshlib::PointsToMeshProjector::upcast_to_i_points_to_mesh_projector | ( | ) | const -> &meshlib::IPointsToMeshProjector |
Upcasts to the base class MR::IPointsToMeshProjector.
Calls MR_PointsToMeshProjector_UpcastTo_MR_IPointsToMeshProjector().
| auto meshlib::PointsToMeshProjector::upcast_to_i_points_to_mesh_projector_mut | ( | ) | -> &mut meshlib::IPointsToMeshProjector |
Upcasts to the base class MR::IPointsToMeshProjector.
Calls MR_PointsToMeshProjector_MutableUpcastTo_MR_IPointsToMeshProjector().
| void meshlib::PointsToMeshProjector::update_mesh_data | ( | mesh:Option<&meshlib::Mesh > | ) |
update all data related to the referencing mesh Generated from method MR::PointsToMeshProjector::updateMeshData.
Calls MR_PointsToMeshProjector_updateMeshData().