KrisLibrary
1.0.0
|
Iterator over a 3D volume grid. More...
#include <VolumeGrid.h>
Public Member Functions | |
VolumeGridIterator (const Array3D< T > &cells, const AABB3D &bb) | |
void | setRange (const IntTriple &bmin, const IntTriple &bmax) |
const T & | operator* () const |
T & | operator* () |
const IntTriple & | getIndex () const |
void | operator++ () |
bool | isDone () const |
void | getCell (AABB3D &cell) const |
void | getCellCenter (Vector3 &c) const |
Public Attributes | |
const Array3D< T > & | cells |
const AABB3D & | bb |
Array3D< T >::iterator | it |
IntTriple | lo |
IntTriple | hi |
IntTriple | index |
Vector3 | cellCorner |
Vector3 | cellSize |
Vector3 | bbMin |
Iterator over a 3D volume grid.
Allows quick iteration and access to the 3D cell. Use the ++ operator until isDone() return true.