MeVisLab Resolution Independence API
MLOffscreenRenderSystem.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_OFFSCREEN_RENDER_SYSTEM_H
14 #define ML_OFFSCREEN_RENDER_SYSTEM_H
15 
16 
19 
20 #ifdef WIN32
21 #pragma warning (disable : 4275)
22 #endif
23 
24 
25 //---------------Export from DLL----------------------
26 // To export classes in this DLL, mark them with the
27 // MLOFFSCREENRENDER_EXPORT macro
28 #ifdef MLOFFSCREENRENDER_EXPORTS
29 #define MLOFFSCREENRENDER_EXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
30 #else
31 #define MLOFFSCREENRENDER_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
32 #endif
33 
34 //-------------------------- INCLUDES
35 #ifdef WIN32
36 // Disable ugly warnings of windows headers.
37 #pragma warning ( push, 3 )
38 #pragma warning ( disable : 4018)
39 #endif
40 
41 // inventor include goes here
42 #include <Inventor/nodes/SoNode.h>
43 #include <Inventor/sensors/SoNodeSensor.h>
44 
45 #ifdef WIN32
46 #pragma warning ( pop )
47 #endif
48 
49 #endif // __MLOFFSCREENRENDERSYSTEM_H