MeshLib Documentation
Loading...
Searching...
No Matches
MRGridSampling.h File Reference
#include "MRMeshFwd.h"
#include "MRProgressCallback.h"
#include "MRId.h"
#include "MRMesh/MRVector.h"
#include <optional>

Go to the source code of this file.

Classes

struct  MR::ModelPointsData
 structure to contain pointers to model data More...
 
struct  MR::ObjVertId
 

Namespaces

namespace  MR
 

Typedefs

using MR::MultiObjsSamples = std::vector<ObjVertId>
 

Functions

MRMESH_API std::optional< VertBitSet > MR::verticesGridSampling (const MeshPart &mp, float voxelSize, const ProgressCallback &cb={})
 
MRMESH_API std::optional< VertBitSet > MR::pointGridSampling (const PointCloud &cloud, float voxelSize, const ProgressCallback &cb={})
 
MRMESH_API std::optional< MultiObjsSamplesMR::multiModelGridSampling (const Vector< ModelPointsData, ObjId > &models, float voxelSize, const ProgressCallback &cb={})