Click or drag to resize
SoVolumeReaderGetSizeToAllocate Method

Utility function provided by OIV.LDM.Readers.SoVolumeReader for subclass readers to call.

Namespace: OIV.LDM.Readers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SbVec3i32 GetSizeToAllocate(
	SbVec3i32 realSize,
	SbVec3i32 subsamplingLevel
)

Parameters

realSize
Type: OIV.InventorSbVec3i32
subsamplingLevel
Type: OIV.InventorSbVec3i32

Return Value

Type: SbVec3i32
Remarks

If the reader uses the NO_COPY policy, this method returns the size to allocate for the brick. For each axis of the brick, this size is:

(first power of 2 greater than realSize) / ( 2** subsamplingLevel)

See Also