Work on volume iterators.

This commit is contained in:
David Williams
2008-05-23 22:41:02 +00:00
parent 180981293a
commit 634a6fc883
5 changed files with 77 additions and 118 deletions

View File

@ -38,6 +38,10 @@ namespace PolyVox
~VolumeIterator();
bool operator==(const VolumeIterator& rhs);
bool operator<(const VolumeIterator& rhs);
bool operator>(const VolumeIterator& rhs);
bool operator<=(const VolumeIterator& rhs);
bool operator>=(const VolumeIterator& rhs);
float getAveragedVoxel(boost::uint16_t size) const;
boost::uint16_t getPosX(void) const;
@ -83,6 +87,7 @@ namespace PolyVox
VoxelType peekVoxel1px1py1pz(void) const;
private:
//The current volume
Volume<VoxelType>& mVolume;