------------------------------------------------------------------------------
| 343 | |
| 344 | //------------------------------------------------------------------------------ |
| 345 | void vtkXMLPDataObjectWriter::ProgressCallback(vtkAlgorithm* w) |
| 346 | { |
| 347 | float width = this->ProgressRange[1] - this->ProgressRange[0]; |
| 348 | float internalProgress = w->GetProgress(); |
| 349 | float progress = this->ProgressRange[0] + internalProgress * width; |
| 350 | this->UpdateProgressDiscrete(progress); |
| 351 | if (this->AbortExecute) |
| 352 | { |
| 353 | w->SetAbortExecute(1); |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | //------------------------------------------------------------------------------ |
| 358 | void vtkXMLPDataObjectWriter::DeleteFiles() |
no test coverage detected