#include <volumeiterators.h>
GridIteratorInterface allows to iterate over the active voxels of a volume.
| Public Member Functions | |
| MAXON_METHOD Result< void > | Init (const Volume &volumeObject) | 
| MAXON_METHOD IntVector32 | GetCoords () const | 
| MAXON_METHOD TYPE | GetValue () const | 
| MAXON_METHOD Bool | IsNotAtEnd () const | 
| MAXON_METHOD void | StepNext () | 
| MAXON_METHOD Volume | GetVolume () const | 
| MAXON_METHOD TREEVOXELLEVEL | GetVoxelLevel () const | 
| Static Public Member Functions | |
| static MAXON_FUNCTION Result< GridIteratorRef< TYPE, iteratorType > > | Create () | 
| Private Member Functions | |
| MAXON_INTERFACE_SIMPLE_VIRTUAL (GridIteratorInterface, MAXON_REFERENCE_NORMAL) | |
| 
 | private | 
| 
 | static | 
| MAXON_METHOD Result<void> Init | ( | const Volume & | volumeObject | ) | 
Initialize the iterator with a volume object.
| [in] | volumeObject | The volume object to initialize this iterator for. | 
| MAXON_METHOD IntVector32 GetCoords | ( | ) | const | 
Retrieve the index position of the volume at current iterator position.
| MAXON_METHOD TYPE GetValue | ( | ) | const | 
Retrieve the value of the volume at current iterator position.
| MAXON_METHOD Bool IsNotAtEnd | ( | ) | const | 
Check if the iterator is not at its end.
| MAXON_METHOD void StepNext | ( | ) | 
Steps the iterator to the next active voxel.
| MAXON_METHOD Volume GetVolume | ( | ) | const | 
Get a reference to the volume object this iterator is initialized for.
| MAXON_METHOD TREEVOXELLEVEL GetVoxelLevel | ( | ) | const | 
Returns the voxel tree level of the current voxel.