Click or drag to resize
SoInput Methods

The SoInput type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDirectoryFirst

The OIV.Inventor.SoInput class maintains a global list of directories that is searched to find files when opening them.

Public methodStatic memberAddDirectoryLast

The OIV.Inventor.SoInput class maintains a global list of directories that is searched to find files when opening them.

Public methodStatic memberAddEnvDirectoriesFirst(String)
Calls AddEnvDirectoriesFirst(envVarName, DIRECTORIES_SEPARATOR).
Public methodStatic memberAddEnvDirectoriesFirst(String, String)

The OIV.Inventor.SoInput class maintains a global list of directories that is searched to find files when opening them.

Public methodStatic memberAddEnvDirectoriesLast(String)
Calls AddEnvDirectoriesLast(envVarName, DIRECTORIES_SEPARATOR).
Public methodStatic memberAddEnvDirectoriesLast(String, String)

The OIV.Inventor.SoInput class maintains a global list of directories that is searched to find files when opening them.

Public methodStatic memberClearDirectories

Clears the list of directories (including the current directory).

Public methodCloseFile

Closes all files on stack opened with OIV.Inventor.SoInput.OpenFile(System.String, System.Boolean, System.Boolean) or OIV.Inventor.SoInput.PushFile(System.String).

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

Returns absolute path of given file by looking in OIV.Inventor.SoInput standard directories.

Public methodGet
Public methodGetASCIIBuffer
Public methodGetASCIIFile
Public methodGetCurFileName

Returns full name (including directory path) of current file.

Public methodGetCurStringFileName

Returns full name (including directory path) of current file.

Public methodStatic memberGetDirectories
Returns the list of directories.
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetHeader

Returns the header of the file being read.

Public methodGetInputParameters

Return the current OIV.Inventor.SoInputParameters.

Public methodGetIVVersion

Returns the Open Inventor file version of the file being read (2.1).

Public methodGetNumBytesRead

Returns the number of bytes read.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVRMLVersion
Public methodIsBinary
Public methodIsFileVRML2
Public methodIsUtf8
Public methodIsValidBuffer

Returns true if the current buffer is valid.

Public methodIsValidFile

Returns true if the currently open file is a valid Open Inventor file.

Public methodIsZCompressed
Public methodOpenFile(String)
Calls OpenFile(fileName, false, false).
Public methodOpenFile(String, Boolean)
Calls OpenFile(fileName, okIfNotFound, false).
Public methodOpenFile(String, Boolean, Boolean)

Opens named file.

Public methodPushFile

Opens named file.

Public methodRead(Boolean)
Public methodRead(Double)
Public methodRead(Int16)
Public methodRead(Int32)
Public methodRead(Int64)
Public methodRead(SByte)
Public methodRead(Single)
Public methodRead(String)
Calls Read(n, false).
Public methodRead(UInt16)
Public methodRead(UInt32)
Public methodRead(UInt64)
Public methodRead(SByte, Boolean)
Public methodRead(String, Boolean)
Public methodReadBinaryArray
Public methodReadBitMask(String)
Calls ReadBitMask(n, false).
Public methodReadBitMask(String, Boolean)
Public methodReadByte(Byte)
Public methodReadByte(SByte)
Public methodStatic memberRemoveDirectory

Removes named directory from the list.

Public methodSetBuffer
Sets an in-memory buffer to read from, along with its size.
Public methodSetFileVRML2
Public methodSetInputParameters

Specify parameters to modify/control actions during the read of a file.

Public methodSetVRMLVersion
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateReadPercent

Reports the percentage of bytes read from the file.

Top
See Also