------------------------------------------------------------------------------
| 401 | |
| 402 | //------------------------------------------------------------------------------ |
| 403 | void vtkImagePointDataIterator::ReportProgress() |
| 404 | { |
| 405 | if (this->Count % this->Target == 0) |
| 406 | { |
| 407 | if (this->Algorithm->GetAbortExecute()) |
| 408 | { |
| 409 | this->Id = this->End; |
| 410 | this->SpanEnd = this->End; |
| 411 | this->RowEnd = this->End; |
| 412 | this->SliceEnd = this->End; |
| 413 | } |
| 414 | else if (this->ThreadId == 0) |
| 415 | { |
| 416 | this->Algorithm->UpdateProgress(0.02 * (this->Count / this->Target)); |
| 417 | } |
| 418 | } |
| 419 | this->Count++; |
| 420 | } |
| 421 | VTK_ABI_NAMESPACE_END |
no test coverage detected