37 const AffineXf3f*
xf{
nullptr };
#define MRMESH_API
Definition MRMeshFwd.h:85
Vector<T> is indexed by size_t.
Definition MRVector.h:24
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
std::optional< VertBitSet > verticesGridSampling(const MeshPart &mp, float voxelSize, const ProgressCallback &cb={})
const VertBitSet * validPoints
bitset of valid points
Definition MRGridSampling.h:35
ObjId objId
Definition MRGridSampling.h:44
const VertCoords * points
all points of model
Definition MRGridSampling.h:33
std::optional< VertBitSet > pointGridSampling(const PointCloudPart &pcp, float voxelSize, const ProgressCallback &cb={})
VertId vId
Definition MRGridSampling.h:45
const AffineXf3f * xf
model world xf
Definition MRGridSampling.h:37
std::vector< ObjVertId > MultiObjsSamples
Definition MRGridSampling.h:50
ObjId fakeObjId
if present this value will override ObjId in result ObjVertId
Definition MRGridSampling.h:39
friend bool operator==(const ObjVertId &, const ObjVertId &)=default
std::optional< MultiObjsSamples > multiModelGridSampling(const Vector< ModelPointsData, ObjId > &models, float voxelSize, const ProgressCallback &cb={})
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
structure to contain pointers to model data
Definition MRGridSampling.h:31
Definition MRGridSampling.h:43
represents full point cloud (if region is nullptr) or some portion of point cloud (if region pointer ...
Definition MRPointCloudPart.h:13