aimsalgo  5.0.5
Neuroimaging image processing
aims::MeshToVoxelsResampler< O > Class Template Reference

3D rasterization (voxelization) of a mesh O : AimsData<unsigned int> or BucketMap<Void> More...

#include <aims/resampling/meshToVoxelsResampler.h>

Public Member Functions

 MeshToVoxelsResampler ()
 
virtual ~MeshToVoxelsResampler ()
 
doit (const AimsSurfaceTriangle &surface, float spacing=1., unsigned int connexity=26)
 surface : input mesh spacing : voxel size (according to mesh metric) connexity : 6 or 26 More...
 

Detailed Description

template<typename O>
class aims::MeshToVoxelsResampler< O >

3D rasterization (voxelization) of a mesh O : AimsData<unsigned int> or BucketMap<Void>

Definition at line 51 of file meshToVoxelsResampler.h.

Constructor & Destructor Documentation

◆ MeshToVoxelsResampler()

template<typename O>
aims::MeshToVoxelsResampler< O >::MeshToVoxelsResampler ( )
inline

Definition at line 55 of file meshToVoxelsResampler.h.

◆ ~MeshToVoxelsResampler()

Member Function Documentation

◆ doit()

template<typename O >
O aims::MeshToVoxelsResampler< O >::doit ( const AimsSurfaceTriangle m,
float  spacing = 1.,
unsigned int  connexity = 26 
)

surface : input mesh spacing : voxel size (according to mesh metric) connexity : 6 or 26

Ad-hoc covering of voxels, then test if there own to the resulting mesh voxelization by the way proposed in : "An Accurate Method for Voxelizing Polygon Meshes", J.

Huang, R. Yagel, V. Filippov, Y. Kurzion

Definition at line 68 of file meshToVoxelsResampler_d.h.

References norm().

Referenced by aims::MeshToVoxelsResampler< O >::~MeshToVoxelsResampler().


The documentation for this class was generated from the following files: