------------------------------------------------------------------------------
| 432 | |
| 433 | //------------------------------------------------------------------------------ |
| 434 | void vtkXMLPDataReader::PieceProgressCallback() |
| 435 | { |
| 436 | float width = this->ProgressRange[1] - this->ProgressRange[0]; |
| 437 | float pieceProgress = this->PieceReaders[this->Piece]->GetProgress(); |
| 438 | float progress = this->ProgressRange[0] + pieceProgress * width; |
| 439 | this->UpdateProgressDiscrete(progress); |
| 440 | if (this->AbortExecute) |
| 441 | { |
| 442 | this->PieceReaders[this->Piece]->SetAbortExecute(1); |
| 443 | } |
| 444 | } |
| 445 | VTK_ABI_NAMESPACE_END |
no test coverage detected