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

Method PipelineModifiedCallback

IO/Image/vtkImageExport.cxx:322–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322int vtkImageExport::PipelineModifiedCallback()
323{
324 if (!this->GetInput())
325 {
326 return 0;
327 }
328
329 vtkMTimeType mtime = 0;
330 if (this->GetInputAlgorithm())
331 {
332 vtkExecutive* e = this->GetInputAlgorithm()->GetExecutive();
333 if (e)
334 {
335 e->ComputePipelineMTime(
336 nullptr, e->GetInputInformation(), e->GetOutputInformation(), -1, &mtime);
337 }
338 }
339
340 if (mtime > this->LastPipelineMTime)
341 {
342 this->LastPipelineMTime = mtime;
343 return 1;
344 }
345 return 0;
346}
347
348int* vtkImageExport::WholeExtentCallback()
349{

Callers 1

Calls 6

GetInputMethod · 0.95
GetInputAlgorithmMethod · 0.95
GetExecutiveMethod · 0.45
ComputePipelineMTimeMethod · 0.45
GetInputInformationMethod · 0.45
GetOutputInformationMethod · 0.45

Tested by

no test coverage detected