Commit 1e3811e9 authored by Dave Moxey's avatar Dave Moxey
Browse files

Fix for VTK 6 compiler error

parent 9806c49d
#include <vtkVersionMacros.h>
#if VTK_MAJOR_VERSION == 6 && VTK_MINOR_VERSION == 0 && VTK_PATCH_VERSION == 0
#include <vtkMathConfigure.h>
#undef VTK_HAS_ISNAN
#undef VTK_HAS_ISINF
#endif
......@@ -37,6 +37,7 @@ SET(BasicUtilsHeaders
./BasicUtils/Vmath.hpp
./BasicUtils/VmathArray.hpp
./BasicUtils/Metis.hpp
./BasicUtils/VtkUtil.hpp
./BasicUtils/XmlUtil.h
)
......
#include <LibUtilities/BasicUtils/SessionReader.h>
#include <LibUtilities/BasicUtils/VtkUtil.hpp>
#include <vtkPolyDataReader.h>
#include <vtkPolyDataWriter.h>
......
#include <LibUtilities/BasicUtils/VtkUtil.hpp>
#include <vtkPolyDataReader.h>
#include <vtkPolyData.h>
#include <vtkPointData.h>
......
......@@ -33,6 +33,7 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <LibUtilities/BasicUtils/VtkUtil.hpp>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
......
......@@ -34,6 +34,7 @@
////////////////////////////////////////////////////////////////////////////////
#include <NekMeshUtils/MeshElements/Element.h>
#include <LibUtilities/BasicUtils/VtkUtil.hpp>
#include <vtkPolyDataReader.h>
#include <vtkPolyData.h>
......
......@@ -34,6 +34,7 @@
////////////////////////////////////////////////////////////////////////////////
#include <NekMeshUtils/MeshElements/Element.h>
#include <LibUtilities/BasicUtils/VtkUtil.hpp>
#include <vtkPolyDataWriter.h>
#include <vtkPolyData.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment