SoVolumeReaderReadXTraceInTile Method |
Read directly from the data source, a trace 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 ReadXTraceInTile(
int index,
SbNativeArray<byte> buffer,
SbBox3i32 tilePosition,
SbVec2i32 tracePosition
)
Public Overridable Function ReadXTraceInTile (
index As Integer,
buffer As SbNativeArray(Of Byte),
tilePosition As SbBox3i32,
tracePosition As SbVec2i32
) As Boolean
public:
virtual bool ReadXTraceInTile(
int index,
SbNativeArray<unsigned char>^ buffer,
SbBox3i32 tilePosition,
SbVec2i32 tracePosition
)
abstract ReadXTraceInTile :
index : int *
buffer : SbNativeArray<byte> *
tilePosition : SbBox3i32 *
tracePosition : SbVec2i32 -> bool
override ReadXTraceInTile :
index : int *
buffer : SbNativeArray<byte> *
tilePosition : SbBox3i32 *
tracePosition : SbVec2i32 -> bool
Parameters
- index
- Type: SystemInt32
the fileId of an existing 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).
- tracePosition
- Type: OIV.InventorSbVec2i32
represents the (i,j) coordinates of the trace.
Return Value
Type:
BooleanRemarks See Also