Class SoSTLInputReader

  • All Implemented Interfaces:

    public class SoSTLInputReader
    extends SoInputReader
    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.


    • Import is done in float single precision. Precision may be lost if stl file contains values in double precision.

    See Also:
    SoSTLFileFormat, SoSTLWriteAction
    • Constructor Detail

      • SoSTLInputReader

        public SoSTLInputReader()