Click or drag to resize
SoVolumeReaderGetSubSlice Method
Method required by VolumeViz 3.0. Must copy the rectangular part defined by subSlice of the XY slice sliceNumber to the memory pointed to by data. Slices will not always be read sequentially.

Namespace: OIV.LDM.Readers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual void GetSubSlice(
	SbBox2i32 subSlice,
	int sliceNumber,
	SbNativeArray<byte> data
)

Parameters

subSlice
Type: OIV.InventorSbBox2i32
sliceNumber
Type: SystemInt32
data
Type: OIV.Inventor.GenericSbNativeArrayByte
Remarks

You can use the convenience method GetBuffer() to read data from file. Note: SetFilename() must have been called previously.

Note that to keep code compatibility, the method is not abstract but you must provide an implementation of this method.

See Also