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

Go to the source code of this file.

Typedefs

typedef struct MR_FloatGrid MR_FloatGrid
 
typedef struct MR_std_vector_MR_VoxelBitSet MR_std_vector_MR_VoxelBitSet
 

Functions

MRC_API MR_std_vector_MR_VoxelBitSetMR_FloatGridComponents_getAllComponents (const MR_FloatGrid *grid, const float *isoValue)
 

Typedef Documentation

◆ MR_FloatGrid

typedef struct MR_FloatGrid MR_FloatGrid

◆ MR_std_vector_MR_VoxelBitSet

Function Documentation

◆ MR_FloatGridComponents_getAllComponents()

MRC_API MR_std_vector_MR_VoxelBitSet * MR_FloatGridComponents_getAllComponents ( const MR_FloatGrid * grid,
const float * isoValue )

finds separated by iso-value components in grid space (0 voxel id is minimum active voxel in grid) Generated from function MR::FloatGridComponents::getAllComponents. Parameter grid can not be null. It is a single object. Parameter isoValue has a default argument: 0.F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_VoxelBitSet_Destroy() to free it when you're done using it.