You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.2 KiB
97 lines
3.2 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkToolkits.h.in,v $
|
|
|
|
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_PARALLEL
|
|
#cmakedefine VTK_USE_RENDERING
|
|
#cmakedefine VTK_USE_GL2PS
|
|
|
|
/* The Hybrid and VolumeRendering kits are now switched with Rendering. */
|
|
#ifdef VTK_USE_RENDERING
|
|
# define VTK_USE_HYBRID
|
|
# define VTK_USE_VOLUMERENDERING
|
|
#endif
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
/* Rendering Configuration */
|
|
|
|
#cmakedefine VTK_USE_X
|
|
#cmakedefine VTK_USE_MANGLED_MESA
|
|
#cmakedefine VTK_USE_OPENGL_LIBRARY
|
|
#cmakedefine VTK_OPENGL_HAS_OSMESA
|
|
#cmakedefine VTK_USE_OFFSCREEN
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
/* Wrapping Configuration */
|
|
|
|
#cmakedefine VTK_WRAP_TCL
|
|
#cmakedefine VTK_WRAP_PYTHON
|
|
#cmakedefine VTK_WRAP_JAVA
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
/* Other Configuration Options */
|
|
|
|
/* Whether we are building MPI support. */
|
|
#cmakedefine VTK_USE_MPI
|
|
|
|
/* Should VTK use the display? */
|
|
#cmakedefine VTK_USE_DISPLAY
|
|
|
|
/* 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 VTK is using vfw32 and if it supports video capture */
|
|
#cmakedefine VTK_USE_VIDEO_FOR_WINDOWS
|
|
#cmakedefine VTK_VFW_SUPPORTS_CAPTURE
|
|
|
|
/* Whether the real python debug library has been provided. */
|
|
#cmakedefine VTK_WINDOWS_PYTHON_DEBUGGABLE
|
|
|
|
/* Whether the user has linked in the MPEG2 library or not */
|
|
#cmakedefine VTK_USE_MPEG2_ENCODER
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
/* 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
|
|
|