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

Method PieceProgressCallback

IO/XML/vtkXMLPTableReader.cxx:204–214  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

202
203//------------------------------------------------------------------------------
204void vtkXMLPTableReader::PieceProgressCallback()
205{
206 float width = this->ProgressRange[1] - this->ProgressRange[0];
207 float pieceProgress = this->PieceReaders[this->Piece]->GetProgress();
208 float progress = this->ProgressRange[0] + pieceProgress * width;
209 this->UpdateProgressDiscrete(progress);
210 if (this->AbortExecute)
211 {
212 this->PieceReaders[this->Piece]->SetAbortExecute(1);
213 }
214}
215
216//------------------------------------------------------------------------------
217void vtkXMLPTableReader::SetupNextPiece()

Callers

nothing calls this directly

Calls 2

GetProgressMethod · 0.45

Tested by

no test coverage detected