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{
11
12
13using FoundPointCallback = std::function<void( VertId, const Vector3f& )>;
14
18MRMESH_API void findPointsInBox( const PointCloud& pointCloud, const Box3f& box,
19 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
20
24MRMESH_API void findPointsInBox( const Mesh& mesh, const Box3f& box,
25 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
26
30MRMESH_API void findPointsInBox( const AABBTreePoints& tree, const Box3f& box,
31 const FoundPointCallback& foundCallback, const AffineXf3f* xf = nullptr );
32
33}
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:16
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23
Definition MRPointCloud.h:17