------------------------------------------------------------------------------
| 2060 | |
| 2061 | //------------------------------------------------------------------------------ |
| 2062 | void vtkXMLReader::UpdateProgressDiscrete(float progress) |
| 2063 | { |
| 2064 | if (!this->AbortExecute) |
| 2065 | { |
| 2066 | // Round progress to nearest 100th. |
| 2067 | float rounded = std::round(progress * 100) / 100.f; |
| 2068 | if (this->GetProgress() != rounded) |
| 2069 | { |
| 2070 | this->UpdateProgress(rounded); |
| 2071 | } |
| 2072 | } |
| 2073 | } |
| 2074 | |
| 2075 | //------------------------------------------------------------------------------ |
| 2076 | vtkTypeBool vtkXMLReader::ProcessRequest( |
no test coverage detected