Click or drag to resize
SoByteStream Class

Converts scene graph objects to character byte streams.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.MiscSoByteStream

Namespace: OIV.Inventor.Misc
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoByteStream : SoNetBase

The SoByteStream type exposes the following members.

Constructors
  NameDescription
Public methodSoByteStream

Constructor.

Top
Methods
  NameDescription
Public methodConvert(SoNode)
Calls Convert(node, true).
Public methodConvert(SoPath)
Calls Convert(path, true).
Public methodConvert(SoPathList)
Calls Convert(pathList, true).
Public methodConvert(SoNode, Boolean)

Converts the passed scene graph object(s) into a byte stream.

Public methodConvert(SoPath, Boolean)

Converts the passed scene graph object(s) into a byte stream.

Public methodConvert(SoPathList, Boolean)

Converts the passed scene graph object(s) into a byte stream.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetData

Returns the data from the last OIV.Inventor.Misc.SoByteStream.Convert(OIV.Inventor.Nodes.SoNode, System.Boolean) operation.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumBytes

Returns the number of bytes from the last OIV.Inventor.Misc.SoByteStream.Convert(OIV.Inventor.Nodes.SoNode, System.Boolean) operation.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRawData
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnconvert(SbNativeArrayByte)
Public methodStatic memberUnconvert(SoByteStream)

Takes byte stream data and unconverts it back to scene graph objects.

Top
Remarks

This class creates a byte stream representation of a scene graph, using an OIV.Inventor.Actions.SoWriteAction to write path lists to an in-memory buffer. Byte streams are commonly used to transfer data in copy and paste operations. (The OIV.Inventor.Win.SoWinClipboard class passes OIV.Inventor.Misc.SoByteStream data during copy and paste.)

See Also