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