Class RawDataset.BinaryData
Actual geometric representation of the data to load from a file / socket
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class RawDataset.BinaryData
Constructors
| Improve this Doc View SourceBinaryData(JsonHeader, byte[])
Actual geometric representation of the data to load from a file / socket
Declaration
public BinaryData(RawDataset.JsonHeader bdh, byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| RawDataset.JsonHeader | bdh | |
| byte[] | bytes |
BinaryData(JsonHeader, string)
Actual geometric representation of the data to load from a file / socket
Declaration
public BinaryData(RawDataset.JsonHeader bdh, string file)
Parameters
| Type | Name | Description |
|---|---|---|
| RawDataset.JsonHeader | bdh | |
| string | file |
Properties
| Improve this Doc View Sourceindex_array
Actual geometric representation of the data to load from a file / socket
Declaration
public int[] index_array { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
scalar_arrays
Actual geometric representation of the data to load from a file / socket
Declaration
public float[][] scalar_arrays { get; set; }
Property Value
| Type | Description |
|---|---|
| float[][] |
vector_arrays
Actual geometric representation of the data to load from a file / socket
Declaration
public float[][] vector_arrays { get; set; }
Property Value
| Type | Description |
|---|---|
| float[][] |
vertices
Actual geometric representation of the data to load from a file / socket
Declaration
public float[] vertices { get; set; }
Property Value
| Type | Description |
|---|---|
| float[] |
Methods
| Improve this Doc View SourceDecode(JsonHeader, byte[])
Actual geometric representation of the data to load from a file / socket
Declaration
public void Decode(RawDataset.JsonHeader bdh, byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| RawDataset.JsonHeader | bdh | |
| byte[] | bytes |
Encode(JsonHeader, in Vector3[], in int[], in int[], in int[], in SerializableFloatArray[], in SerializableVectorArray[])
Actual geometric representation of the data to load from a file / socket
Declaration
public static byte[] Encode(RawDataset.JsonHeader bdh, in Vector3[] vertices, in int[] indices, in int[] cellIndexOffsets, in int[] cellIndexCounts, in SerializableFloatArray[] scalars, in SerializableVectorArray[] vectors)
Parameters
| Type | Name | Description |
|---|---|---|
| RawDataset.JsonHeader | bdh | |
| Vector3[] | vertices | |
| int[] | indices | |
| int[] | cellIndexOffsets | |
| int[] | cellIndexCounts | |
| SerializableFloatArray[] | scalars | |
| SerializableVectorArray[] | vectors |
Returns
| Type | Description |
|---|---|
| byte[] |