Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoSTLFileFormat.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (Sep 2014)
22**=======================================================================*/
23
24
25#ifndef _SO_STL_FILE_FORMAT_H_
26#define _SO_STL_FILE_FORMAT_H_
27
28#include <Inventor/SbBasic.h>
29#include <Inventor/io/STL/SoInventorSTLLibName.h>
30
31// InventorSTL_EXPORTS is defined only when building fei_inventor_io_stl library
32#ifdef InventorSTL_EXPORTS
33# define VC_DLL_EXPORT
34#else
35# define VC_DLL_IMPORT
36#endif
37
38#ifdef _WIN32
39# ifndef InventorSTL_EXPORTS
40# ifndef OIV_DISABLE_AUTOLINK
41# pragma comment(lib,__INVENTORSTLLIB)
42# endif
43# endif
44#endif
45
46#include <Inventor/SoModule.h>
47SO_MODULE_HEADER(SoSTLFileFormat, __INVENTORSTLDLL)
48
49
74
75 public:
76
83 static void init();
84
93 static void finish();
94
98 static const char *getProductName();
99
100#if 1 SoDEPRECATED
105 static const char *getVersion();
106#endif
108 private:
109
110 // reference counter on the lib.
111 static int s_initRefCount;
112
113 static const char *s_versionString;
114
115};
116/*---------------------------------------------------------------------------*/
117
118// Declare plugin entry points for dynamic plugin loading
119extern "C" void initPlugin();
120extern "C" void exitPlugin();
121
122#endif // _SO_STL_FILE_FORMAT_H_
123
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Module class to ...
static const char * getProductName()
Returns a character string identifying the name of the extension.
static void finish()
Frees Open Inventor's internal static memory allocations.
static SoDEPRECATED const char * getVersion()
Returns a character string identifying the version of the extension.
static void init()
Initializes all classes of STLFileFormat modules by registering them in the database.