MCPcopy Create free account
hub / github.com/Kitware/VTK / GetInputArray

Method GetInputArray

Common/ExecutionModel/vtkAlgorithm.cxx:840–850  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

838
839//------------------------------------------------------------------------------
840vtkSmartPointer<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
852vtkSmartPointer<vtkAbstractArray> vtkAlgorithm::GetInputArray(
853 int idx, vtkDataObject* input, int& association, int requestedComponent)

Callers 9

CreateOutputMethod · 0.80
ReadMetaDataSimpleMethod · 0.80
ReadMeshSimpleMethod · 0.80
CreateOutputMethod · 0.80
ReadDataMethod · 0.80
CreateOutputMethod · 0.80
ReadMetaDataSimpleMethod · 0.80
GetInputArrayAsFunction · 0.80
RequestDataPlainMethod · 0.80

Tested by 1

RequestDataPlainMethod · 0.64