------------------------------------------------------------------------------
| 838 | |
| 839 | //------------------------------------------------------------------------------ |
| 840 | vtkSmartPointer<vtkAbstractArray> vtkAlgorithm::GetInputArray(int idx, int connection, |
| 841 | vtkInformationVector** inputVector, int& association, int requestedComponent) |
| 842 | { |
| 843 | auto* array = this->GetInputAbstractArrayToProcess(idx, connection, inputVector, association); |
| 844 | if (!array) |
| 845 | { |
| 846 | return vtkSmartPointer<vtkAbstractArray>(); |
| 847 | } |
| 848 | int specifiedComponent = this->GetInputArrayComponent(idx); |
| 849 | return arrayWithRequestedComponent(array, specifiedComponent, requestedComponent); |
| 850 | } |
| 851 | |
| 852 | vtkSmartPointer<vtkAbstractArray> vtkAlgorithm::GetInputArray( |
| 853 | int idx, vtkDataObject* input, int& association, int requestedComponent) |