MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::IPointsToMeshProjector Struct Reference
Inheritance diagram for meshlib::IPointsToMeshProjector:

Public Member Functions

void update_mesh_data (mesh:Option<&meshlib::Mesh >)
void find_projections (result:&mut meshlib::std_vector_MR_MeshProjectionResult, points:&meshlib::VertCoords, worldXf:Option<&meshlib::AffineXf3f >, worldRefXf:Option<&meshlib::AffineXf3f >, upDistLimitSq:Option< f32 >, loDistLimitSq:Option< f32 >)
auto projections_heap_bytes (numProjections:usize) const -> usize

Additional Inherited Members

Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions must be implemented Generated from class MR::IPointsToMeshProjector. Derived classes: Direct: (non-virtual) MR::Cuda::PointsToMeshProjector MR::PointsToMeshProjector

Generated from class MR::IPointsToMeshProjector. Heap-allocated instances are held in Owned<IPointsToMeshProjector>.

Member Function Documentation

◆ find_projections()

void meshlib::IPointsToMeshProjector::find_projections ( result:&mut meshlib::std_vector_MR_MeshProjectionResult ,
points:&meshlib::VertCoords ,
worldXf:Option<&meshlib::AffineXf3f > ,
worldRefXf:Option<&meshlib::AffineXf3f > ,
upDistLimitSq:Option< f32 > ,
loDistLimitSq:Option< f32 >  )

Computes the closest point on mesh to each of given points Generated from method MR::IPointsToMeshProjector::findProjections.

Calls MR_IPointsToMeshProjector_findProjections().

◆ projections_heap_bytes()

auto meshlib::IPointsToMeshProjector::projections_heap_bytes ( numProjections:usize ) const -> usize

Returns amount of memory needed to compute projections Generated from method MR::IPointsToMeshProjector::projectionsHeapBytes.

Calls MR_IPointsToMeshProjector_projectionsHeapBytes().

◆ update_mesh_data()

void meshlib::IPointsToMeshProjector::update_mesh_data ( mesh:Option<&meshlib::Mesh > )

Updates all data related to the referencing mesh Generated from method MR::IPointsToMeshProjector::updateMeshData.

Calls MR_IPointsToMeshProjector_updateMeshData().


The documentation for this struct was generated from the following file: