------------------------------------------------------------------------------
| 557 | |
| 558 | //------------------------------------------------------------------------------ |
| 559 | void vtkXMLCompositeDataWriter::ProgressCallback(vtkAlgorithm* w) |
| 560 | { |
| 561 | float width = this->ProgressRange[1] - this->ProgressRange[0]; |
| 562 | float internalProgress = w->GetProgress(); |
| 563 | float progress = this->ProgressRange[0] + internalProgress * width; |
| 564 | this->UpdateProgressDiscrete(progress); |
| 565 | if (this->AbortExecute) |
| 566 | { |
| 567 | w->SetAbortExecute(1); |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | //------------------------------------------------------------------------------ |
| 572 | vtkStdString vtkXMLCompositeDataWriter::CreatePieceFileName(int piece) |
no test coverage detected