Click or drag to resize
SoVolumeReaderGetNumVoxels Method

Note: This API is now obsolete.

Utility function provided by SoVolumeReader for subclass readers to call.

Namespace: OIV.LDM.Readers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SbVec3s GetNumVoxels(
	SbVec3s realSize,
	SbVec3s subsamplingLevel
)

Parameters

realSize
Type: OIV.InventorSbVec3s
subsamplingLevel
Type: OIV.InventorSbVec3s

Return Value

Type: SbVec3s
Remarks

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: 1. realSize is divided by 2** subsamplingLevel, 2. 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.

See Also