VTK
dox/Builds/VTK/release/doxygen/Rendering/OpenGL/vtkRenderingOpenGLConfigure.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkRenderingOpenGLConfigure.h.in
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00016 #ifndef __vtkRenderingOpenGLConfigure_h
00017 #define __vtkRenderingOpenGLConfigure_h
00018 
00019 /* This header contains build settings for the vtkRenderingOpenGL module. */
00020 
00021 /* Whether VTK was built to support Carbon or Cocoa on the Mac.  */
00022 /* #undef VTK_USE_CARBON */
00023 #define VTK_USE_COCOA
00024 
00025 /*--------------------------------------------------------------------------*/
00026 /* Rendering Configuration                                                  */
00027 /* #undef VTK_USE_X */
00028 #define VTK_USE_OPENGL_LIBRARY
00029 /* #undef VTK_OPENGL_HAS_OSMESA */
00030 /* #undef VTK_USE_OFFSCREEN */
00031 
00032 /* #undef VTK_USE_GLSL_SHADERS */
00033 
00034 /* #undef VTK_MATERIALS_DIRS */
00035 #ifdef VTK_MATERIALS_DIRS
00036 #  undef VTK_MATERIALS_DIRS
00037 #  define VTK_MATERIALS_DIRS ""
00038 #endif
00039 
00040 /* Options for GPUInfo */
00041 /* #undef VTK_USE_DIRECTX */
00042 #define VTK_USE_CORE_GRAPHICS
00043 /* #undef VTK_USE_NVCONTROL */
00044 
00045 /*--------------------------------------------------------------------------*/
00046 /* Setup VTK based on platform features and configuration.                  */
00047 
00048 /* OGLR */
00049 /* OGLR is for GLX. It can be on Unix, Mac or Windows */
00050 #if ((defined(VTK_USE_OPENGL_LIBRARY) && defined(VTK_USE_X) && \
00051       !defined(_WIN32)) ||                                     \
00052      (defined(VTK_USE_X) && defined(_WIN32))) && \
00053      !(defined (VTK_USE_CARBON) || defined(VTK_USE_COCOA))
00054 # define VTK_USE_OGLR
00055 #endif
00056 
00057 #if (defined(VTK_OPENGL_HAS_OSMESA) && !defined(VTK_USE_OGLR) &&  \
00058     !defined(_WIN32) && !defined(VTK_USE_CARBON) && !defined(VTK_USE_COCOA))
00059 # define VTK_USE_OSMESA
00060 #endif
00061 
00062 #endif