MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::IPointsToMeshProjector Class Referenceabstract

Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions must be implemented. More...

#include <MRPointsToMeshProjector.h>

+ Inheritance diagram for MR::IPointsToMeshProjector:

Public Member Functions

virtual ~IPointsToMeshProjector ()=default
 
virtual void updateMeshData (const Mesh *mesh)=0
 Updates all data related to the referencing mesh.
 
virtual void findProjections (std::vector< MeshProjectionResult > &result, const std::vector< Vector3f > &points, const AffineXf3f *worldXf=nullptr, const AffineXf3f *worldRefXf=nullptr, float upDistLimitSq=FLT_MAX, float loDistLimitSq=0.0f)=0
 Computes the closest point on mesh to each of given points.
 
virtual size_t projectionsHeapBytes (size_t numProjections) const =0
 Returns amount of memory needed to compute projections.
 

Detailed Description

Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions must be implemented.


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