MeVisLabToolboxReference
FMEwork/VTK/Sources/VTK/MLVTK/VTKSupport/mlInitSystemVTKSupport.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00006 
00011 //----------------------------------------------------------------------------------
00012 #ifndef __mlInitSystemVTKSupport_H
00013 #define __mlInitSystemVTKSupport_H
00014 
00015 #ifdef WIN32
00016 // Suppresses warning C4275: class 'SoCoordinate4' ist keine DLL-Schnittstelle ..."
00017 #pragma warning (disable : 4018)  // Disable only for VTK
00018 #pragma warning (disable : 4516)  // Disable only for VTK
00019 #pragma warning (disable : 4701)  // Disable only for VTK
00020 
00021 #pragma warning (disable : 4275)
00022 #pragma warning (disable : 4505)  // warning C4505: 'debugFunc' : Nichtreferenzierte lokale Funktion wurde entfernt
00023 
00024 #pragma warning ( disable : 4097 )
00025 #pragma warning ( disable : 4310 )
00026 #pragma warning ( disable : 4511 )
00027 #pragma warning ( disable : 4512 )
00028 #pragma warning ( disable : 4127 )
00029 
00030 #endif // WIN32
00031 
00032 
00036 #ifdef WIN32
00037 #define VTKML_TYPENAME
00038 #else
00039 #define VTKML_TYPENAME typename
00040 #endif
00041 
00042 
00043 //--------------- DLL exporting ----------------------
00044 #ifdef MLVTK_SUPPORT_EXPORTS
00045 
00046   // To make functions, classes and other symbols available
00047   // on this dll interfaces, they must be exported explicitly
00048   // on win32 systems. We add simply MLVTK_EXPORT before
00049   // them.
00050   #define MLVTK_SUPPORT_EXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
00051 
00052 #else  // else MLVTK_SUPPORT_EXPORT
00053 
00054 
00055   #define MLVTK_SUPPORT_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
00056 
00057 #endif // else MLVTK_SUPPORT_EXPORT
00058 
00059 
00060 #endif  //end of __mlInitSystemExample_H
00061