#include <voxelizer.h>
Public Member Functions | |
Voxelizer (SPH &sph, const double d_min) | |
void | reset () |
bool | next () |
bool | at_end () const |
const Geometry & | get_voxel () const |
void | to_xml (std::ostream &o) |
|
Constructs a voxelized space from a sph space. The voxels start at diameter sph.get_d() and are recursively made smaller until d_min. d_min Minimum diameter of voxels. |
|
Last next() has returned false. |
|
Returns a reference to the current voxel. |
|
Iterator set to next voxel. Returns false if no next voxel exists. |
|
Resets iterator through voxels. |
|
Output of voxelizer as XML. |