SoSTLInputReader Class Reference
[Inventor STL file format support]

VSG extension Class for importing a scene graph from a STL file. More...

#include <Inventor/io/STL/SoSTLInputReader.h>

Inheritance diagram for SoSTLInputReader:
SoInputReader SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoSTLInputReader ()
virtual ~SoSTLInputReader ()
virtual bool canConvert (SoInput *)
virtual SoSeparatorconvert (SoInput *)

Detailed Description

VSG extension Class for importing a scene graph from a STL file.

This class can import data from an STL format (.stl) file into an Open Inventor scene graph.

ASCII and binary file formats are supported.

SEE ALSO

SoSTLFileFormat, SoToWriteAction


Constructor & Destructor Documentation

SoSTLInputReader::SoSTLInputReader (  ) 

Constructor.

virtual SoSTLInputReader::~SoSTLInputReader (  )  [virtual]

Destructor.


Member Function Documentation

virtual bool SoSTLInputReader::canConvert ( SoInput  )  [virtual]

Returns true if the specified input source can be converted by this plugin. Note that the input source (SoInput object) may be a file or a buffer (memory). This method should return false if the input source is a buffer and the reader does not support reading from a buffer. SoInput::getCurFile() returns NULL if the input source is a buffer.

Implements SoInputReader.

virtual SoSeparator* SoSTLInputReader::convert ( SoInput  )  [virtual]

Returns the specified input source in the form of an Open Inventor scene graph. Note that the input source (SoInput object) may be a file or a buffer (memory). This method should return NULL if the input source is a buffer and the reader does not support reading from a buffer. SoInput::getCurFile() returns NULL if the input source is a buffer.

Implements SoInputReader.


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 21 Sep 2015
Copyright © FEI S.A.S. All rights reserved.
http://www.vsg3d.com