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

Method PieceProgressCallback

IO/XML/vtkXMLPDataReader.cxx:434–444  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

432
433//------------------------------------------------------------------------------
434void 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}
445VTK_ABI_NAMESPACE_END

Callers 1

Calls 2

GetProgressMethod · 0.45

Tested by

no test coverage detected