diff --git a/core/vtk/ttkCinemaImaging/ttkCinemaImaging.cpp b/core/vtk/ttkCinemaImaging/ttkCinemaImaging.cpp index f1c142910a..dcb130edb8 100644 --- a/core/vtk/ttkCinemaImaging/ttkCinemaImaging.cpp +++ b/core/vtk/ttkCinemaImaging/ttkCinemaImaging.cpp @@ -104,7 +104,9 @@ void addValuePass(vtkDataSet *object, size_t nComponents = field->GetNumberOfComponents(); for(size_t c = 0; c < nComponents; c++) { auto valuePass = vtkSmartPointer::New(); +#if VTK_MAJOR_VERSION < 8 || (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION < 90) valuePass->SetRenderingMode(vtkValuePass::FLOATING_POINT); +#endif valuePass->SetInputArrayToProcess(fieldType == 0 ? VTK_SCALAR_MODE_USE_POINT_FIELD_DATA : VTK_SCALAR_MODE_USE_CELL_FIELD_DATA, diff --git a/core/vtk/ttkCinemaQuery/ttkCinemaQuery.cpp b/core/vtk/ttkCinemaQuery/ttkCinemaQuery.cpp index 1c871da766..6a517007e2 100644 --- a/core/vtk/ttkCinemaQuery/ttkCinemaQuery.cpp +++ b/core/vtk/ttkCinemaQuery/ttkCinemaQuery.cpp @@ -1,5 +1,6 @@ #include +#include #include #include diff --git a/core/vtk/ttkContourAroundPoint/ttkContourAroundPoint.cpp b/core/vtk/ttkContourAroundPoint/ttkContourAroundPoint.cpp index c2695d0f97..cec5715276 100644 --- a/core/vtk/ttkContourAroundPoint/ttkContourAroundPoint.cpp +++ b/core/vtk/ttkContourAroundPoint/ttkContourAroundPoint.cpp @@ -3,7 +3,7 @@ #include #include -// #include +#include #include #include diff --git a/core/vtk/ttkTriangulationAlgorithm/macro.h b/core/vtk/ttkTriangulationAlgorithm/macro.h index 263c3cad47..5f1c24bb87 100644 --- a/core/vtk/ttkTriangulationAlgorithm/macro.h +++ b/core/vtk/ttkTriangulationAlgorithm/macro.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include