------------------------------------------------------------------------------
| 541 | |
| 542 | //------------------------------------------------------------------------------ |
| 543 | void vtkXMLDataReader::DataProgressCallback() |
| 544 | { |
| 545 | if (this->InReadData) |
| 546 | { |
| 547 | float width = this->ProgressRange[1] - this->ProgressRange[0]; |
| 548 | float dataProgress = this->XMLParser->GetProgress(); |
| 549 | float progress = this->ProgressRange[0] + dataProgress * width; |
| 550 | this->UpdateProgressDiscrete(progress); |
| 551 | if (this->AbortExecute) |
| 552 | { |
| 553 | this->XMLParser->SetAbort(1); |
| 554 | } |
| 555 | } |
| 556 | } |
| 557 | |
| 558 | //------------------------------------------------------------------------------ |
| 559 | int vtkXMLDataReader::PointDataNeedToReadTimeStep(vtkXMLDataElement* eNested) |
no test coverage detected