SoVolumeReaderReadXSliceInTile Method |
Read directly from the data source, an orthoslice on the X axis (Zaxis == 0) inside a tile.
Namespace: OIV.LDM.ReadersAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public virtual bool ReadXSliceInTile(
int index,
SbNativeArray<byte> buffer,
SbBox3i32 tilePosition,
uint slicePosition
)
Public Overridable Function ReadXSliceInTile (
index As Integer,
buffer As SbNativeArray(Of Byte),
tilePosition As SbBox3i32,
slicePosition As UInteger
) As Boolean
public:
virtual bool ReadXSliceInTile(
int index,
SbNativeArray<unsigned char>^ buffer,
SbBox3i32 tilePosition,
unsigned int slicePosition
)
abstract ReadXSliceInTile :
index : int *
buffer : SbNativeArray<byte> *
tilePosition : SbBox3i32 *
slicePosition : uint32 -> bool
override ReadXSliceInTile :
index : int *
buffer : SbNativeArray<byte> *
tilePosition : SbBox3i32 *
slicePosition : uint32 -> bool
Parameters
- index
- Type: SystemInt32
The fileId of the tile.
- buffer
- Type: OIV.Inventor.GenericSbNativeArrayByte
The buffer in which the data is returned.
- tilePosition
- Type: OIV.InventorSbBox3i32
Specifies the position of the tile in the associated volume, in voxel coordinates.
In the default OIV.LDM.Readers.SoVRLdmFileReader, the tilePosition isn't actually used by the reader but it is passed as a convenience for customized readers (can be used for mapping to a different index scheme).
- slicePosition
- Type: SystemUInt32
The slice position in the tile.
Return Value
Type:
BooleanRemarks See Also