MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPointsInBall.h File Reference
#include "MRMeshFwd.h"
#include "MRBall.h"
#include "MRVector3.h"
#include "MRPointsProject.h"
#include "MREnums.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Typedefs

using MR::FoundPointCallback = std::function<void( VertId, const Vector3f& )>
 
using MR::OnPointInBallFound = std::function<Processing( const PointsProjectionResult & found, const Vector3f & foundXfPos, Ball3f & ball )>
 this callback is invoked on every point located within the ball, and allows changing the ball for search continuation
 

Functions

MRMESH_API void MR::findPointsInBall (const PointCloud &pointCloud, const Ball3f &ball, const OnPointInBallFound &foundCallback, const AffineXf3f *xf=nullptr)
 
MRMESH_API void MR::findPointsInBall (const PointCloud &pointCloud, const Ball3f &ball, const FoundPointCallback &foundCallback, const AffineXf3f *xf=nullptr)
 
MRMESH_API void MR::findPointsInBall (const Mesh &mesh, const Ball3f &ball, const OnPointInBallFound &foundCallback, const AffineXf3f *xf=nullptr)
 
MRMESH_API void MR::findPointsInBall (const Mesh &mesh, const Ball3f &ball, const FoundPointCallback &foundCallback, const AffineXf3f *xf=nullptr)
 
MRMESH_API void MR::findPointsInBall (const AABBTreePoints &tree, Ball3f ball, const OnPointInBallFound &foundCallback, const AffineXf3f *xf=nullptr)
 
MRMESH_API void MR::findPointsInBall (const AABBTreePoints &tree, const Ball3f &ball, const FoundPointCallback &foundCallback, const AffineXf3f *xf=nullptr)