Commit afacf897 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED updated to VTK 8.2.0 API

Header not present in VTK 8.2.0 and apparently not required at compile time
parent 57036c4d
......@@ -125,7 +125,6 @@ Geometry::Geometry(QString label, vtkSmartPointer<vtkPointSet> pointSetPtr, cons
//-- init mapper
mapper = vtkSmartPointer<vtkDataSetMapper>::New();
mapper->SetInputConnection(customPipelineOutput);
//mapper->ImmediateModeRenderingOn();
mapper->SetResolveCoincidentTopologyToPolygonOffset();
// set the rainbow lookup table from blue to red
......
......@@ -48,9 +48,7 @@
#include <vtkPiecewiseFunction.h>
#include <vtkColorTransferFunction.h>
#include <vtkVolumeProperty.h>
#include <vtkVolumeRayCastMapper.h>
#include <vtkImageCast.h>
#include <vtkVolumeRayCastCompositeFunction.h>
#include <vtkVolume.h>
#include <vtkCellArray.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