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.ReadersAssembly: 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
)
Public Overridable Sub GetSubSlice (
subSlice As SbBox2i32,
sliceNumber As Integer,
data As SbNativeArray(Of Byte)
)
public:
virtual void GetSubSlice(
[InAttribute] SbBox2i32 subSlice,
int sliceNumber,
SbNativeArray<unsigned char>^ data
)
abstract GetSubSlice :
subSlice : SbBox2i32 *
sliceNumber : int *
data : SbNativeArray<byte> -> unit
override GetSubSlice :
subSlice : SbBox2i32 *
sliceNumber : int *
data : SbNativeArray<byte> -> unit
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