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

Go to the source code of this file.

Typedefs

typedef struct MR_VdbVolume MR_VdbVolume
 
typedef int32_t MR_VoxelFilterType
 

Enumerations

enum  { MR_VoxelFilterType_Median = 0 , MR_VoxelFilterType_Mean = 1 , MR_VoxelFilterType_Gaussian = 2 }
 

Functions

MRC_API MR_VdbVolumeMR_voxelFilter (const MR_VdbVolume *volume, MR_VoxelFilterType type, int32_t width)
 

Typedef Documentation

◆ MR_VdbVolume

typedef struct MR_VdbVolume MR_VdbVolume

◆ MR_VoxelFilterType

typedef int32_t MR_VoxelFilterType

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MR_VoxelFilterType_Median 
MR_VoxelFilterType_Mean 
MR_VoxelFilterType_Gaussian 

Function Documentation

◆ MR_voxelFilter()

MRC_API MR_VdbVolume * MR_voxelFilter ( const MR_VdbVolume * volume,
MR_VoxelFilterType type,
int32_t width )

Performs voxels filtering.

Parameters
typeType of fitler
widthWidth of the filtering window, must be an odd number greater or equal to 1. Generated from function MR::voxelFilter. Parameter volume can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_VdbVolume_Destroy() to free it when you're done using it.