vtk_eigen.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtk_eigen.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 =========================================================================*/
15 #ifndef vtk_eigen_h
16 #define vtk_eigen_h
17 
18 // VTK should only be using MPL2 Eigen code.
19 #ifndef EIGEN_MPL2_ONLY
20 #define EIGEN_MPL2_ONLY
21 #endif
22 
23 /* Use the eigen library configured for VTK. */
24 #define VTK_MODULE_USE_EXTERNAL_vtkeigen 0
25 
26 #if VTK_MODULE_USE_EXTERNAL_vtkeigen
27 # define VTK_EIGEN(x) <Eigen/x>
28 #else
29 # define VTK_EIGEN(x) <vtkeigen/eigen/x>
30 #endif
31 
32 #endif