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

Method CallAlgorithm

Common/ExecutionModel/vtkExecutive.cxx:715–734  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

713
714//------------------------------------------------------------------------------
715int vtkExecutive::CallAlgorithm(vtkInformation* request, int direction,
716 vtkInformationVector** inInfo, vtkInformationVector* outInfo)
717{
718 // Copy default information in the direction of information flow.
719 this->CopyDefaultInformation(request, direction, inInfo, outInfo);
720
721 // Invoke the request on the algorithm.
722 this->InAlgorithm = 1;
723 int result = this->Algorithm->ProcessRequest(request, inInfo, outInfo);
724 this->InAlgorithm = 0;
725
726 // If the algorithm failed report it now.
727 if (!result)
728 {
729 vtkErrorMacro("Algorithm " << this->Algorithm->GetObjectDescription()
730 << " returned failure for request: " << *request);
731 }
732
733 return result;
734}
735
736//------------------------------------------------------------------------------
737int vtkExecutive::CheckAlgorithm(const char* method, vtkInformation* request)

Callers 8

ProcessRequestMethod · 0.95
ExecuteDataObjectMethod · 0.45
ExecuteInformationMethod · 0.45
ExecuteDataMethod · 0.45
ExecuteDataStartMethod · 0.45
ProcessRequestMethod · 0.45
ExecuteDataObjectMethod · 0.45

Calls 3

ProcessRequestMethod · 0.45
GetObjectDescriptionMethod · 0.45

Tested by

no test coverage detected