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