VTK  9.3.20240327
vtkSystemIncludes.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkSystemIncludes_h
13 #define vtkSystemIncludes_h
14 
15 /* first include the local configuration for this machine */
16 #define VTK_SYSTEM_INCLUDES_INSIDE
17 #include "vtkWin32Header.h"
18 #undef VTK_SYSTEM_INCLUDES_INSIDE
19 
20 // The language wrapper files do not need the real streams. They
21 // define VTK_STREAMS_FWD_ONLY so that the streams are only
22 // forward-declared. This significantly improves compile time on some
23 // platforms.
24 #if defined(VTK_STREAMS_FWD_ONLY)
25 #include "vtkIOStreamFwd.h" // Forward-declare the C++ streams.
26 #else
27 #include "vtkIOStream.h" // Include the real C++ streams.
28 #endif
29 
30 // Setup the basic types to be used by VTK.
31 #include "vtkType.h"
32 
33 // Define some macros to provide wrapping hints
34 #include "vtkWrappingHints.h"
35 
36 // this should be removed at some point
37 #define VTK_USE_EXECUTIVES
38 
39 #define VTK_SYSTEM_INCLUDES_INSIDE
40 #include "vtkOStreamWrapper.h" // Include the ostream wrapper.
41 
42 #include "vtkOStrStreamWrapper.h" // Include the ostrstream wrapper.
43 #undef VTK_SYSTEM_INCLUDES_INSIDE
44 
45 // Include generic stuff.
46 #include <stdio.h>
47 #include <stdlib.h>
48 #include <string.h>
49 
50 // These types define error codes for vtk functions
51 #define VTK_OK 1
52 #define VTK_ERROR 2
53 
54 // These types define different text properties
55 #define VTK_ARIAL 0
56 #define VTK_COURIER 1
57 #define VTK_TIMES 2
58 #define VTK_UNKNOWN_FONT 3
59 #define VTK_FONT_FILE 4
60 
61 #define VTK_TEXT_LEFT 0
62 #define VTK_TEXT_CENTERED 1
63 #define VTK_TEXT_RIGHT 2
64 
65 #define VTK_TEXT_BOTTOM 0
66 #define VTK_TEXT_TOP 2
67 
68 #define VTK_TEXT_GLOBAL_ANTIALIASING_SOME 0
69 #define VTK_TEXT_GLOBAL_ANTIALIASING_NONE 1
70 #define VTK_TEXT_GLOBAL_ANTIALIASING_ALL 2
71 
72 #define VTK_LUMINANCE 1
73 #define VTK_LUMINANCE_ALPHA 2
74 #define VTK_RGB 3
75 #define VTK_RGBA 4
76 
77 #define VTK_COLOR_MODE_DEFAULT 0
78 #define VTK_COLOR_MODE_MAP_SCALARS 1
79 #define VTK_COLOR_MODE_DIRECT_SCALARS 2
80 
81 // Constants for InterpolationType
82 #define VTK_NEAREST_INTERPOLATION 0
83 #define VTK_LINEAR_INTERPOLATION 1
84 #define VTK_CUBIC_INTERPOLATION 2
85 
86 // Constants for SlabType
87 #define VTK_IMAGE_SLAB_MIN 0
88 #define VTK_IMAGE_SLAB_MAX 1
89 #define VTK_IMAGE_SLAB_MEAN 2
90 #define VTK_IMAGE_SLAB_SUM 3
91 
92 // For volume rendering
93 #define VTK_MAX_VRCOMP 4
94 
95 // For encoding
96 
97 #define VTK_ENCODING_NONE 0 // to specify that no encoding should occur
98 #define VTK_ENCODING_US_ASCII 1
99 #define VTK_ENCODING_UNICODE 2
100 #define VTK_ENCODING_UTF_8 3
101 #define VTK_ENCODING_ISO_8859_1 4
102 #define VTK_ENCODING_ISO_8859_2 5
103 #define VTK_ENCODING_ISO_8859_3 6
104 #define VTK_ENCODING_ISO_8859_4 7
105 #define VTK_ENCODING_ISO_8859_5 8
106 #define VTK_ENCODING_ISO_8859_6 9
107 #define VTK_ENCODING_ISO_8859_7 10
108 #define VTK_ENCODING_ISO_8859_8 11
109 #define VTK_ENCODING_ISO_8859_9 12
110 #define VTK_ENCODING_ISO_8859_10 13
111 #define VTK_ENCODING_ISO_8859_11 14
112 #define VTK_ENCODING_ISO_8859_12 15
113 #define VTK_ENCODING_ISO_8859_13 16
114 #define VTK_ENCODING_ISO_8859_14 17
115 #define VTK_ENCODING_ISO_8859_15 18
116 #define VTK_ENCODING_ISO_8859_16 19
117 #define VTK_ENCODING_UNKNOWN 20 // leave this one at the end
118 
119 #endif
120 // VTK-HeaderTest-Exclude: vtkSystemIncludes.h