VTK
vtkRenderingOpenGLConfigure.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderingOpenGLConfigure.h.in
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 =========================================================================*/
15 
16 #ifndef vtkRenderingOpenGLConfigure_h
17 #define vtkRenderingOpenGLConfigure_h
18 
19 /* This header contains build settings for the vtkRenderingOpenGL2 module. */
20 /* It provides some compatibility with the vtkRenderingOpenGL module. */
21 
22 /* Whether VTK was built to support Cocoa on the Mac. */
23 #define VTK_USE_COCOA
24 
25 /*--------------------------------------------------------------------------*/
26 /* Rendering Configuration */
27 /* #undef VTK_USE_X */
28 #define VTK_USE_OPENGL_LIBRARY
29 /* #undef VTK_USE_OSMESA */
30 /* #undef VTK_USE_OFFSCREEN */
31 
32 #define VTK_USE_GLSL_SHADERS
33 
34 /* Options for GPUInfo */
35 /* #undef VTK_USE_DIRECTX */
36 /* #undef VTK_USE_CORE_GRAPHICS */
37 /* #undef VTK_USE_NVCONTROL */
38 
39 /*--------------------------------------------------------------------------*/
40 /* Setup VTK based on platform features and configuration. */
41 
42 /* OGLR */
43 /* OGLR is for GLX. It can be on Unix, Mac or Windows */
44 #if ((defined(VTK_USE_OPENGL_LIBRARY) && defined(VTK_USE_X) && \
45  !defined(_WIN32)) || \
46  (defined(VTK_USE_X) && defined(_WIN32))) && \
47  !defined(VTK_USE_COCOA)
48 # define VTK_USE_OGLR
49 #endif
50 
51 #endif