From: Christoph Ramseyer (cramseye@stud.ee.ethz.ch)
Date: 08/11/2000 09:15:04
Easy solution...(for a beginners mistake...)
Well, the pointer
aBrickSet
in eg.
//read voxel
valueGet = (GLubyte*)aBrickSet->getVoxelAddr(2,2,2);
actually was a NULL pointer. I was not aware of the fact, that the
operator
()
of
voBrickSetCollectionIterator
returns NULL when the whole collection was traversed.
The following does the job for my case:
valueGet = (GLubyte*)
aVolume->getCurrentBrickSet()->getVoxelAddr(2,2,2);
or
valueGet = (GLubyte*)aVolume->getVoxelAddr(2,2,2);
Chris
This archive was generated by hypermail 2b29 : Fri Aug 11 2000 - 14:42:41 PDT