00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00051 #ifndef __vtkWIN32Header_h
00052 #define __vtkWIN32Header_h
00053
00054 #include "vtkConfigure.h"
00055
00056
00057
00058 #if defined(_WIN32) || defined(WIN32)
00059
00060
00061 #ifndef STRICT
00062 #define STRICT
00063 #endif
00064
00065 #ifdef VTK_USE_ANSI_STDLIB
00066 #define NOMINMAX
00067 #endif
00068
00069 #include <windows.h>
00070
00071
00072 #pragma warning ( disable : 4251 )
00073 #pragma warning ( disable : 4786 )
00074 #pragma warning ( disable : 4244 )
00075 #pragma warning ( disable : 4305 )
00076 #pragma warning ( disable : 4309 )
00077 #endif
00078
00079 #if defined(WIN32) && !defined(VTKSTATIC)
00080 #define VTK_EXPORT __declspec( dllexport )
00081
00082 #if defined(vtkCommon_EXPORTS)
00083 #define VTK_COMMON_EXPORT __declspec( dllexport )
00084 #else
00085 #define VTK_COMMON_EXPORT __declspec( dllimport )
00086 #endif
00087
00088 #if defined(vtkFiltering_EXPORTS)
00089 #define VTK_FILTERING_EXPORT __declspec( dllexport )
00090 #else
00091 #define VTK_FILTERING_EXPORT __declspec( dllimport )
00092 #endif
00093
00094 #if defined(vtkImaging_EXPORTS)
00095 #define VTK_IMAGING_EXPORT __declspec( dllexport )
00096 #else
00097 #define VTK_IMAGING_EXPORT __declspec( dllimport )
00098 #endif
00099
00100 #if defined(vtkGraphics_EXPORTS)
00101 #define VTK_GRAPHICS_EXPORT __declspec( dllexport )
00102 #else
00103 #define VTK_GRAPHICS_EXPORT __declspec( dllimport )
00104 #endif
00105
00106 #if defined(vtkIO_EXPORTS)
00107 #define VTK_IO_EXPORT __declspec( dllexport )
00108 #else
00109 #define VTK_IO_EXPORT __declspec( dllimport )
00110 #endif
00111
00112 #if defined(vtkRendering_EXPORTS)
00113 #define VTK_RENDERING_EXPORT __declspec( dllexport )
00114 #else
00115 #define VTK_RENDERING_EXPORT __declspec( dllimport )
00116 #endif
00117
00118 #if defined(vtkHybrid_EXPORTS)
00119 #define VTK_HYBRID_EXPORT __declspec( dllexport )
00120 #else
00121 #define VTK_HYBRID_EXPORT __declspec( dllimport )
00122 #endif
00123
00124 #if defined(vtkParallel_EXPORTS)
00125 #define VTK_PARALLEL_EXPORT __declspec( dllexport )
00126 #else
00127 #define VTK_PARALLEL_EXPORT __declspec( dllimport )
00128 #endif
00129
00130 #if defined(vtkPatented_EXPORTS)
00131 #define VTK_PATENTED_EXPORT __declspec( dllexport )
00132 #else
00133 #define VTK_PATENTED_EXPORT __declspec( dllimport )
00134 #endif
00135 #else
00136 #define VTK_COMMON_EXPORT
00137 #define VTK_FILTERING_EXPORT
00138 #define VTK_GRAPHICS_EXPORT
00139 #define VTK_IMAGING_EXPORT
00140 #define VTK_IO_EXPORT
00141 #define VTK_RENDERING_EXPORT
00142 #define VTK_HYBRID_EXPORT
00143 #define VTK_PARALLEL_EXPORT
00144 #define VTK_PATENTED_EXPORT
00145 #define VTK_EXPORT
00146 #endif
00147
00148
00149 #if defined(WIN32)
00150 #define VTK_TK_EXPORT __declspec( dllexport )
00151 #else
00152 #define VTK_TK_EXPORT
00153 #endif
00154
00155 #endif