SoVRSegyFileReaderGetSubSlice Method (SbBox2i32, Int32, SbNativeArrayByte) |
Must copy the rectangular part defined by subSlice of the XY slice sliceNumber to the memory referenced by data.
Namespace: OIV.VolumeViz.Readers
public override void GetSubSlice( SbBox2i32 subSlice, int sliceNumber, SbNativeArray<byte> data )
2D region of the slice to return.
Slice number on the volume Z axis (first slice is 0).
Copy the data into this buffer.
Slices will not always be read sequentially.
You can use the convenience method getBuffer() to read data from file. Note: OIV.VolumeViz.Readers.SoVRSegyFileReader.SetFilename(System.String) must have been called previously.