MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 //---------------------------------------------------------------------------------- 00004 00009 //---------------------------------------------------------------------------------- 00010 00011 #ifndef _SOFLASH_SYSTEM_H 00012 #define _SOFLASH_SYSTEM_H 00013 00014 00015 00018 #ifdef SOFLASH_EXPORTS 00019 #define SOFLASH_CLASS_SPEC ML_LIBRARY_EXPORT_ATTRIBUTE 00020 #else 00021 #define SOFLASH_CLASS_SPEC ML_LIBRARY_IMPORT_ATTRIBUTE 00022 #endif 00023 00024 00025 #ifdef WIN32 00026 00027 //-------------------------- WINDOWS SETTINGS 00032 #pragma warning (disable : 4097) 00033 00034 //Unterdr"uckt die Warnung warning C4275: class 'SoCoordinate4' ist keine DLL-Schnittstelle 00035 //und wurde als Basisklasse fuer die DLL-Schnittstelle class '...' verwendet 00036 #pragma warning (disable : 4275) 00037 00038 // Disable "class 'SoType' benoetigt eine DLL-Schnittstelle, die von Clients von class '...2DArea' verwendet wird" 00039 #pragma warning (disable : 4251) 00040 00041 // Disable warning C4514: '/=' : Nichtreferenzierte Inline-Funktion wurde entfernt 00042 #pragma warning (disable : 4514) 00043 00044 // Disable warning C4244: 'argument' : Konvertierung von 'int' in 'short', moeglicher Datenverlust (at inventor node initialization) 00045 #pragma warning (disable : 4244) 00046 00048 #pragma warning(disable : 4710) 00049 00050 // Disable warning C4786: '??0?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAE@IABV?$ba 00051 #pragma warning ( disable : 4786) 00052 // Include often used libraries automatically and disable its warnings 00053 // to be able to compile the ml in highest warning level. 00054 00055 00056 // Disable ugly warnings of windows headers. 00057 #pragma warning ( push, 3 ) 00058 #pragma warning ( disable : 4018) 00059 #include <windows.h> 00060 #include <string> 00061 #include <stdio.h> 00062 #include <stdlib.h> 00063 #include <iostream> 00064 #include <math.h> 00065 #include <vector> 00066 #include <list> 00067 #include <FLOAT.H> 00068 #pragma warning ( pop ) 00069 00070 #elif defined(LINUX) 00071 00072 //-------------------------- LINUX SETTINGS 00073 #include <list> 00074 #include <string> 00075 #include <sstream> 00076 00077 #elif defined(__APPLE__) 00078 00079 //-------------------------- MAC OS X SETTINGS 00080 #include <list> 00081 #include <string> 00082 #include <sstream> 00083 00084 #else 00085 00086 //-------------------------- SETTINGS FOR OTHER SYSTEMS 00087 #include <list> 00088 #include <mstring.h> 00089 #define SOFLASH_CLASS_SPEC 00090 00091 #endif 00092 00093 //-------------------------- INCLUDES 00094 #ifdef WIN32 00095 // Disable ugly warnings of windows headers. 00096 #pragma warning ( push, 3 ) 00097 #pragma warning ( disable : 4018) 00098 #include <XVEnterScope.h> 00099 #endif 00100 00101 // inventor include goes here 00102 #include <Inventor/SoTrace.h> 00103 #include <Inventor/SbColor.h> 00104 #include <Inventor/actions/SoCallbackAction.h> 00105 #include <Inventor/actions/SoGLRenderAction.h> 00106 #include <Inventor/elements/SoLazyElement.h> 00107 #include <Inventor/elements/SoOverrideElement.h> 00108 #include <Inventor/fields/SoSFBool.h> 00109 #include <Inventor/fields/SoSFColor.h> 00110 #include <Inventor/fields/SoSFFloat.h> 00111 #include <Inventor/fields/SoSFTime.h> 00112 #include <Inventor/nodes/SoSubNode.h> 00113 #include <Inventor/sensors/SoFieldSensor.h> 00114 #include <Inventor/sensors/SoTimerSensor.h> 00115 00116 #include "XVSubNode.h" 00117 #ifdef WIN32 00118 #include <XVLeaveScope.h> 00119 #endif 00120 00121 #ifdef WIN32 00122 #pragma warning ( pop ) 00123 #endif 00124 00125 #endif // _SOFLASH_SYSTEM_H