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

Method CallAlgorithm

Common/ExecutionModel/vtkThreadedCompositeDataPipeline.cxx:261–278  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

259
260//------------------------------------------------------------------------------
261int vtkThreadedCompositeDataPipeline::CallAlgorithm(vtkInformation* request, int direction,
262 vtkInformationVector** inInfo, vtkInformationVector* outInfo)
263{
264 // Copy default information in the direction of information flow.
265 this->CopyDefaultInformation(request, direction, inInfo, outInfo);
266
267 // Invoke the request on the algorithm.
268 int result = this->Algorithm->ProcessRequest(request, inInfo, outInfo);
269
270 // If the algorithm failed report it now.
271 if (!result)
272 {
273 vtkErrorMacro("Algorithm " << this->Algorithm->GetObjectDescription()
274 << " returned failure for request: " << *request);
275 }
276
277 return result;
278}
279VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 3

ProcessRequestMethod · 0.45
GetObjectDescriptionMethod · 0.45

Tested by

no test coverage detected