| 799 | } |
| 800 | |
| 801 | void vtkGPUVolumeRayCastMapper::SetInputConnection(int port, vtkAlgorithmOutput* input) |
| 802 | { |
| 803 | Superclass::SetInputConnection(port, input); |
| 804 | const auto it = std::find(this->Ports.begin(), this->Ports.end(), port); |
| 805 | if (it == this->Ports.cend()) |
| 806 | { |
| 807 | this->Ports.push_back(port); |
| 808 | } |
| 809 | this->Modified(); |
| 810 | } |
| 811 | |
| 812 | void vtkGPUVolumeRayCastMapper::RemoveInputConnection(int port, vtkAlgorithmOutput* input) |
| 813 | { |