/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkToolkits.h.in

  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.

=========================================================================*/
#ifndef __vtkToolkits_h
#define __vtkToolkits_h

/* This header is configured by VTK's build process.  */

/*--------------------------------------------------------------------------*/
/* Selected VTK Toolkits                                                    */

#cmakedefine VTK_USE_HYBRID
#cmakedefine VTK_USE_PARALLEL
#cmakedefine VTK_USE_VOLUMERENDERING
#cmakedefine VTK_USE_RENDERING
#cmakedefine VTK_USE_GL2PS

/*--------------------------------------------------------------------------*/
/* Rendering Configuration                                                  */

#cmakedefine VTK_USE_X
#cmakedefine VTK_USE_MANGLED_MESA
#cmakedefine VTK_USE_OPENGL_LIBRARY
#cmakedefine VTK_OPENGL_HAS_OSMESA

/*--------------------------------------------------------------------------*/
/* Other Configuration Options                                              */

/* Whether we are building MPI support.  */
#cmakedefine VTK_USE_MPI

/* is VTK_DATA_ROOT defined? */
#cmakedefine VTK_DATA_ROOT
#ifdef VTK_DATA_ROOT
#  undef VTK_DATA_ROOT
#  define VTK_DATA_ROOT "@VTK_DATA_ROOT@"
#endif

/* Debug leaks support.  */
#cmakedefine VTK_DEBUG_LEAKS

/* Whether VTK is using its own utility libraries.  */
#cmakedefine VTK_USE_SYSTEM_PNG
#cmakedefine VTK_USE_SYSTEM_ZLIB
#cmakedefine VTK_USE_SYSTEM_JPEG
#cmakedefine VTK_USE_SYSTEM_TIFF
#cmakedefine VTK_USE_SYSTEM_EXPAT
#cmakedefine VTK_USE_SYSTEM_FREETYPE

/* Whether the real python debug library has been provided.  */
#cmakedefine VTK_WINDOWS_PYTHON_DEBUGGABLE

/*--------------------------------------------------------------------------*/
/* Setup VTK based on platform features and configuration.                  */

/* OGLR */
#if ((defined(VTK_USE_OPENGL_LIBRARY) && !defined(_WIN32)) || \
     (defined(VTK_USE_X) && defined(_WIN32)) || \
     (defined(VTK_USE_MANGLED_MESA) && !defined(_WIN32))) && \
     !(defined (VTK_USE_CARBON) || defined(VTK_USE_COCOA))
# define VTK_USE_OGLR
#endif

#endif
