Package com.openinventor.inventor.io.stl
Class SoSTLInputReader
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.SoInputReader
com.openinventor.inventor.io.stl.SoSTLInputReader
- All Implemented Interfaces:
SafeDisposable
Class for importing a scene graph from a STL file.
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 SoDB.readAll()
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.SoInputReader
canConvert, convert, dispose, isDisposable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
SoSTLInputReader
public SoSTLInputReader()Constructor.
-