SoVolumeReaderGetNumVoxels Method |
Utility function provided by OIV.LDM.Readers.SoVolumeReader for subclass readers to call.
Namespace: OIV.LDM.Readers
Returns the size of the brick the reader must use, based on subsamplingLevel and realSize of the brick. If the subsampling level is greater than 0 on an axis, the corresponding size is computed as follows:
realSize is divided by 2** subsamplingLevel
brickSize is the next greater power of 2
For example, if subsamplingLevel[0]=1 and realSize[0]=21, then the returned readerSize[0]=16.
If subsamplingLevel is 0, the corresponding size is the realSize.