MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPointsInBox.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRBox.h"
5#include "MRVector3.h"
6
7namespace MR
8{
9
10using FoundPointCallback = std::function<void( VertId, const Vector3f& )>;
11
15MRMESH_API void findPointsInBox( const PointCloud& pointCloud, const Box3f& box,
16 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
17
21MRMESH_API void findPointsInBox( const Mesh& mesh, const Box3f& box,
22 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
23
27MRMESH_API void findPointsInBox( const AABBTreePoints& tree, const Box3f& box,
28 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
29
30} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:79
bounding volume hierarchy for point cloud structure
Definition MRAABBTreePoints.h:16
MRMESH_API void findPointsInBox(const PointCloud &pointCloud, const Box3f &box, const FoundPointCallback &foundCallback, const AffineXf3f *xf=nullptr)
std::function< void(VertId, const Vector3f &)> FoundPointCallback
Definition MRPointsInBall.h:10
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:16