Skip to content
Snippets Groups Projects
Commit 250d7bb2 authored by Lars Bilke's avatar Lars Bilke
Browse files

[DE] Fixed compile error due to VTK 7.1

parent ac32d12b
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
#include "VtkColorLookupTable.h"
#include <vtkCellData.h>
#include <vtkFloatArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkLookupTable.h>
......@@ -28,7 +29,6 @@
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <vtkStreamingDemandDrivenPipeline.h>
#include <vtkFloatArray.h>
vtkStandardNewMacro(VtkColorByHeightFilter);
......@@ -52,7 +52,7 @@ void VtkColorByHeightFilter::PrintSelf( ostream& os, vtkIndent indent )
os << indent << "Interpolation Type:" << static_cast<int>(ColorLookupTable->getInterpolationType()) << endl;
}
unsigned long VtkColorByHeightFilter::GetMTime()
vtkMTimeType VtkColorByHeightFilter::GetMTime()
{
unsigned long t1, t2;
......@@ -115,4 +115,3 @@ void VtkColorByHeightFilter::SetTableRangeScaling( double scale )
this->ColorLookupTable->SetTableRange(
this->_tableRange[0] * scale, this->_tableRange[1] * scale);
}
......@@ -16,7 +16,9 @@
// ** INCLUDES **
#include "VtkAlgorithmProperties.h"
#include <vtkPolyDataAlgorithm.h>
#include <vtkType.h>
class VtkColorLookupTable;
......@@ -47,7 +49,7 @@ public:
vtkGetObjectMacro(ColorLookupTable,VtkColorLookupTable);
/// @brief This filter gets updated when the color look-up table was modified.
virtual unsigned long GetMTime() override;
virtual vtkMTimeType GetMTime() override;
/// @brief Sets user properties.
void SetUserProperty(QString name, QVariant value) override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment