| 1055 | int requestedComponent = vtkArrayComponents::Requested); |
| 1056 | template <typename ArrayType, typename... Params> |
| 1057 | vtkSmartPointer<ArrayType> GetInputArrayAs(Params&&... params) |
| 1058 | { |
| 1059 | auto abstractArray = this->GetInputArray(std::forward<Params>(params)...); |
| 1060 | auto* castArray = ArrayType::SafeDownCast(abstractArray.GetPointer()); |
| 1061 | auto result = vtkSmartPointer<ArrayType>(castArray); |
| 1062 | return result; |
| 1063 | } |
| 1064 | ///@} |
| 1065 | |
| 1066 | /** |
nothing calls this directly
no test coverage detected