Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoSTLFileFormat Class Reference

VSG extension Module class to initialize STL file format support. More...

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

Static Public Member Functions

static void init ()
 Initializes all classes of STLFileFormat modules by registering them in the database.
 
static void finish ()
 Frees Open Inventor's internal static memory allocations.
 
static const char * getProductName ()
 Returns a character string identifying the name of the extension.
 
Deprecated
static SoDEPRECATED const char * getVersion ()
 Returns a character string identifying the version of the extension.
 

Detailed Description

VSG extension Module class to initialize STL file format support.

This class allows the application to initialize the STL file format support module.

[C++] The module must be initialized before using any other classes of the module. However it is not necessary to explicitly initialize the module when using SoDB::readAll() to load STL format data.

This format requires redistributing the fei_inventor_io_stl plugin library with the application (e.g. fei_inventor_io_stl.dll on Windows).

Limitations:

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

SEE ALSO

SoSTLInputReader, SoSTLWriteAction

Definition at line 73 of file SoSTLFileFormat.h.

Member Function Documentation

◆ finish()

static void SoSTLFileFormat::finish ( )
static

Frees Open Inventor's internal static memory allocations.

This avoids false positives from memory leak checking software. We recommend calling this method and it should be the last Open Inventor method called by the application.

◆ getProductName()

static const char * SoSTLFileFormat::getProductName ( )
static

Returns a character string identifying the name of the extension.

◆ getVersion()

static SoDEPRECATED const char * SoSTLFileFormat::getVersion ( )
static

Returns a character string identifying the version of the extension.

◆ init()

static void SoSTLFileFormat::init ( )
static

Initializes all classes of STLFileFormat modules by registering them in the database.

This function needs to be called before any other class of STLFileFormat may be constructed or accessed.


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