00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2019 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : VSG (Sep 2014) 00022 **=======================================================================*/ 00023 00024 00025 #ifndef _SO_STL_FILE_FORMAT_H_ 00026 #define _SO_STL_FILE_FORMAT_H_ 00027 00028 #include <Inventor/SbBasic.h> 00029 #include <Inventor/io/STL/SoInventorSTLLibName.h> 00030 00031 // InventorSTL_EXPORTS is defined only when building fei_inventor_io_stl library 00032 #ifdef InventorSTL_EXPORTS 00033 # define VC_DLL_EXPORT 00034 #else 00035 # define VC_DLL_IMPORT 00036 #endif 00037 00038 #ifdef _WIN32 00039 # ifndef InventorSTL_EXPORTS 00040 # ifndef OIV_DISABLE_AUTOLINK 00041 # pragma comment(lib,__INVENTORSTLLIB) 00042 # endif 00043 # endif 00044 #endif 00045 00046 #include <Inventor/SoModule.h> 00047 SO_MODULE_HEADER(SoSTLFileFormat, __INVENTORSTLDLL) 00048 00049 00073 class SoSTLFileFormat { 00074 00075 public: 00076 00083 static void init(); 00084 00093 static void finish(); 00094 00098 static const char *getProductName(); 00099 00103 static const char *getVersion(); 00104 00105 private: 00106 00107 // reference counter on the lib. 00108 static int s_initRefCount; 00109 00110 static const char *s_versionString; 00111 00112 }; 00113 /*---------------------------------------------------------------------------*/ 00114 00115 // Declare plugin entry points for dynamic plugin loading 00116 extern "C" void initPlugin(); 00117 extern "C" void exitPlugin(); 00118 00119 #endif // _SO_STL_FILE_FORMAT_H_ 00120 00121