MeshLib
 
Loading...
Searching...
No Matches
MRPointsInBall.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRBitSet.h"
4#include "MRId.h"
5
6namespace MR
7{
8
9using FoundPointCallback = std::function<void( VertId, const Vector3f& )>;
10
14MRMESH_API void findPointsInBall( const PointCloud& pointCloud, const Vector3f& center, float radius,
15 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
16
20MRMESH_API void findPointsInBall( const Mesh& mesh, const Vector3f& center, float radius,
21 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
22
26MRMESH_API void findPointsInBall( const AABBTreePoints& tree, const Vector3f& center, float radius,
27 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
28
29}
int VertId
Definition MRDotNet/MRMeshFwd.h:51
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
bounding volume hierarchy for point cloud structure
Definition MRAABBTreePoints.h:16
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
MRMESH_API void findPointsInBall(const PointCloud &pointCloud, const Vector3f &center, float radius, const FoundPointCallback &foundCallback, const AffineXf3f *xf=nullptr)
Definition MRCameraOrientationPlugin.h:7
std::function< void(VertId, const Vector3f &)> FoundPointCallback
Definition MRPointsInBall.h:9
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:16