A.I.M.S algorithms


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

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

Definition at line 55 of file meshToVoxelsResampler.h.

template<typename O >
virtual aims::MeshToVoxelsResampler< O >::~MeshToVoxelsResampler ( )
inlinevirtual

Definition at line 56 of file meshToVoxelsResampler.h.

Member Function Documentation

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().


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