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