------------------------------------------------------------------------------
| 591 | |
| 592 | //------------------------------------------------------------------------------ |
| 593 | void vtkImageViewer2::UnInstallPipeline() |
| 594 | { |
| 595 | if (this->ImageActor) |
| 596 | { |
| 597 | this->ImageActor->GetMapper()->SetInputConnection(nullptr); |
| 598 | } |
| 599 | |
| 600 | if (this->Renderer && this->ImageActor) |
| 601 | { |
| 602 | this->Renderer->RemoveViewProp(this->ImageActor); |
| 603 | } |
| 604 | |
| 605 | if (this->RenderWindow && this->Renderer) |
| 606 | { |
| 607 | this->RenderWindow->RemoveRenderer(this->Renderer); |
| 608 | } |
| 609 | |
| 610 | if (this->Interactor) |
| 611 | { |
| 612 | this->Interactor->SetInteractorStyle(nullptr); |
| 613 | this->Interactor->SetRenderWindow(nullptr); |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | //------------------------------------------------------------------------------ |
| 618 | void vtkImageViewer2::Render() |
no test coverage detected