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

Method DoProgressUpdate

IO/Geometry/vtkParticleReader.cxx:849–857  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

847
848//------------------------------------------------------------------------------
849void vtkParticleReader::DoProgressUpdate(size_t& bytesRead, size_t& fileLength)
850{
851 if (bytesRead > this->Alliquot)
852 {
853 this->UpdateProgress(bytesRead / (double)fileLength);
854 this->Count++;
855 this->Alliquot = fileLength / quantum * this->Count;
856 }
857}
858
859//------------------------------------------------------------------------------
860void vtkParticleReader::SetDataByteOrderToBigEndian()

Calls 1

UpdateProgressMethod · 0.45

Tested by

no test coverage detected