#if VTK_MAJOR_VERSION <= 5
pdm->SetInput(crossCursor->GetOutput());
#else
- pdm->SetInputData(crossCursor->GetOutput());
+ pdm->SetInputConnection(crossCursor->GetOutputPort(0));
#endif
pdmA = vtkSmartPointer<vtkActor2D>::New();
#if VTK_MAJOR_VERSION <= 5
accFilter->SetInput(voiFilter->GetOutput());
#else
- accFilter->SetInputData(voiFilter->GetOutput());
+ accFilter->SetInputConnection(voiFilter->GetOutputPort(0));
#endif
accFilter->Update();
//----------------------------------------------------------------------------
void vvSlicer::Render()
{ //out << __func__ << endl;
+
if (this->mFusion && mFusionActor->GetVisibility() && showFusionLegend) {
legend->SetLookupTable(this->GetFusionMapper()->GetLookupTable());
legend->UseOpacityOn();
}
if (mLandMapper)
UpdateLandmarks();
- this->GetRenderWindow()->Render();
+
+ this->GetRenderWindow()->Render();
}
//----------------------------------------------------------------------------