VTKExamples
VTKExamples copied to clipboard
VisualDebugging bugs.
There are a few bugs in the VisualDebugging Cxx demo, some linked to the pipeline changes introduced in vtk 6.
-
The angled brackets should be changed to quotes when including
vtkTestFilter.h
inVisualDebugging.cxx
andvtkTestFilter.cxx
, to change:#include <vtkTestFilter.h>
to
#include "vtkTestFilter.h"
-
The line 35 of
VisualDebugging.cxx
should be modified from:this->Mapper->SetInput(intermediate);
to
this->Mapper->SetInputData(intermediate);
-
The line 57 in
vtkTestFilter.cxx
should be changed from:appendFilter->AddInputConnection(this->Output->GetProducerPort());
to
appendFilter->AddInputData(this->Output);
I've attached a patch fix below.
Kind regards,
Francois.
Thanks, I'll apply the changes.
On Thu, Aug 30, 2018, 2:24 AM ftpronk [email protected] wrote:
There are a few bugs in the VisualDebugging Cxx demo, some linked to the pipeline changes introduced in vtk 6.
The angled brackets should be changed to quotes when including vtkTestFilter.h in VisualDebugging.cxx and vtkTestFilter.cxx, to change:
#include <vtkTestFilter.h>
to
#include "vtkTestFilter.h"
The line 35 of VisualDebugging.cxx should be modified from:
this->Mapper->SetInput(intermediate);
to
this->Mapper->SetInputData(intermediate);
The line 57 in vtkTestFilter.cxx should be changed from:
appendFilter->AddInputConnection(this->Output->GetProducerPort());
to
appendFilter->AddInputData(this->Output);
I've attached a patch fix below.
Kind regards,
Francois.
patch.txt https://github.com/lorensen/VTKExamples/files/2335491/patch.txt
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lorensen/VTKExamples/issues/233, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUFDDs0EnjduCtp5E1GAF89OIG9rXRKks5uV69kgaJpZM4WTGg- .