SoSTLInputReader Class |
Class for importing a scene graph from a STL file.
Namespace: OIV.Inventor.IO.STL
The SoSTLInputReader type exposes the following members.
Name | Description | |
---|---|---|
SoSTLInputReader | Constructor. |
Name | Description | |
---|---|---|
CanConvert | Returns true if the specified input source can be converted by this plugin. | |
Convert | Returns the specified input source in the form of an Open Inventor scene graph. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) |
This class imports data from an STL format (.stl) file into an Open Inventor scene graph.
Both ASCII and binary file formats are supported.
It may be efficient to use this class directly to import STL format data when the file format is already known. For convenience, note that the OIV.Inventor.SoDB.ReadAll(OIV.Inventor.SoInput) method will automatically use this class if it detects that the specified file is STL format.
Limitations:
Import is done in float single precision. Precision may be lost if stl file contains values in double precision.