------------------------------------------------------------------------------ Remove a dataset from the list of data to process.
| 44 | //------------------------------------------------------------------------------ |
| 45 | // Remove a dataset from the list of data to process. |
| 46 | void vtkRemovePolyData::RemoveInputData(vtkPolyData* ds) |
| 47 | { |
| 48 | if (!ds) |
| 49 | { |
| 50 | return; |
| 51 | } |
| 52 | int numCons = this->GetNumberOfInputConnections(0); |
| 53 | for (int i = 0; i < numCons; i++) |
| 54 | { |
| 55 | if (this->GetInput(i) == ds) |
| 56 | { |
| 57 | this->RemoveInputConnection(0, this->GetInputConnection(0, i)); |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | //------------------------------------------------------------------------------ |
| 63 | // The core threaded algorithms follow. |
nothing calls this directly
no test coverage detected