Click or drag to resize
SoLDMReaderReadYSliceInTile Method

Read directly from the LDM data source, an orthoslice on the Y axis inside a tile.

Namespace: OIV.LDM.Readers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public override bool ReadYSliceInTile(
	int index,
	SbNativeArray<byte> buffer,
	SbBox3i32 tilePosition,
	uint slicePosition
)

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 data in the associated volume data of the tile corresponding to the given index. In the default OIV.LDM.Readers.SoVRLdmFileReader, the tilePosition isn't actually used but it is passed as a convenience for customized reader (can be used for mapping to a different index scheme).

slicePosition
Type: SystemUInt32

The slice position in the tile.

Return Value

Type: Boolean
Remarks

See Also