------------------------------------------------------------------------------
| 142 | |
| 143 | //------------------------------------------------------------------------------ |
| 144 | void vtkXMLDataObjectWriter::ProgressCallback(vtkAlgorithm* w) |
| 145 | { |
| 146 | float width = this->ProgressRange[1] - this->ProgressRange[0]; |
| 147 | float internalProgress = w->GetProgress(); |
| 148 | float progress = this->ProgressRange[0] + internalProgress * width; |
| 149 | this->UpdateProgressDiscrete(progress); |
| 150 | if (this->AbortExecute) |
| 151 | { |
| 152 | w->SetAbortExecute(1); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | //------------------------------------------------------------------------------ |
| 157 | int vtkXMLDataObjectWriter::FillInputPortInformation(int vtkNotUsed(port), vtkInformation* info) |
no test coverage detected