#include "MRVoxelsFwd.h"
Go to the source code of this file.
Functions | |
MR_EXTERN_C_BEGIN MRMESHC_API MRFloatGrid * | mrFloatGridResampledUniformly (const MRFloatGrid *grid, float voxelScale, MRProgressCallback cb) |
resample this grid with voxel size uniformly scaled by voxelScale | |
MRMESHC_API MRFloatGrid * | mrFloatGridResampled (const MRFloatGrid *grid, const MRVector3f *voxelScale, MRProgressCallback cb) |
resample this grid with voxel size scaled by voxelScale in each dimension | |
MRMESHC_API MRFloatGrid * | mrFloatGridCropped (const MRFloatGrid *grid, const MRBox3i *box, MRProgressCallback cb) |
returns cropped grid | |
MRMESHC_API float | mrFloatGridGetValue (const MRFloatGrid *grid, const MRVector3i *p) |
returns the value at given voxel | |
MRMESHC_API void | mrFloatGridSetValue (MRFloatGrid *grid, const MRVector3i *p, float value) |
sets given voxel | |
MRMESHC_API void | mrFloatGridSetValueForRegion (MRFloatGrid *grid, const MRVoxelBitSet *region, float value) |
MRMESHC_API MRFloatGrid * mrFloatGridCropped | ( | const MRFloatGrid * | grid, |
const MRBox3i * | box, | ||
MRProgressCallback | cb ) |
returns cropped grid
MRMESHC_API float mrFloatGridGetValue | ( | const MRFloatGrid * | grid, |
const MRVector3i * | p ) |
returns the value at given voxel
MRMESHC_API MRFloatGrid * mrFloatGridResampled | ( | const MRFloatGrid * | grid, |
const MRVector3f * | voxelScale, | ||
MRProgressCallback | cb ) |
resample this grid with voxel size scaled by voxelScale in each dimension
MR_EXTERN_C_BEGIN MRMESHC_API MRFloatGrid * mrFloatGridResampledUniformly | ( | const MRFloatGrid * | grid, |
float | voxelScale, | ||
MRProgressCallback | cb ) |
resample this grid with voxel size uniformly scaled by voxelScale
MRMESHC_API void mrFloatGridSetValue | ( | MRFloatGrid * | grid, |
const MRVector3i * | p, | ||
float | value ) |
sets given voxel
MRMESHC_API void mrFloatGridSetValueForRegion | ( | MRFloatGrid * | grid, |
const MRVoxelBitSet * | region, | ||
float | value ) |
sets given region voxels value