MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsInBox.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref

Functions

MRC_API void MR_findPointsInBox_MR_PointCloud (const MR_PointCloud *pointCloud, const MR_Box3f *box, const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref *foundCallback, const MR_AffineXf3f *xf)
MRC_API void MR_findPointsInBox_MR_Mesh (const MR_Mesh *mesh, const MR_Box3f *box, const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref *foundCallback, const MR_AffineXf3f *xf)
MRC_API void MR_findPointsInBox_MR_AABBTreePoints (const MR_AABBTreePoints *tree, const MR_Box3f *box, const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref *foundCallback, const MR_AffineXf3f *xf)

Typedef Documentation

◆ MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref

Stores a functor of type: void(MR::VertId, const MR::Vector3f &). Possibly stateful. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_findPointsInBox_MR_AABBTreePoints()

MRC_API void MR_findPointsInBox_MR_AABBTreePoints ( const MR_AABBTreePoints * tree,
const MR_Box3f * box,
const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all points in tree that are inside or on the surface of given box

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBox. Parameter tree can not be null. It is a single object. Parameter box can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.

◆ MR_findPointsInBox_MR_Mesh()

MRC_API void MR_findPointsInBox_MR_Mesh ( const MR_Mesh * mesh,
const MR_Box3f * box,
const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all valid vertices of the mesh that are inside or on the surface of given box

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBox. Parameter mesh can not be null. It is a single object. Parameter box can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.

◆ MR_findPointsInBox_MR_PointCloud()

MRC_API void MR_findPointsInBox_MR_PointCloud ( const MR_PointCloud * pointCloud,
const MR_Box3f * box,
const MR_std_function_void_from_MR_VertId_const_MR_Vector3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all valid points of pointCloud that are inside or on the surface of given box

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBox. Parameter pointCloud can not be null. It is a single object. Parameter box can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.