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