------------------------------------------------------------------------------
| 171 | |
| 172 | //------------------------------------------------------------------------------ |
| 173 | void vtkAlgorithm::SetProgressObserver(vtkProgressObserver* po) |
| 174 | { |
| 175 | // This intentionally does not modify the algorithm as it |
| 176 | // is usually done by executives during execution and we don't |
| 177 | // want the filter to change its mtime during execution. |
| 178 | if (po != this->ProgressObserver) |
| 179 | { |
| 180 | if (this->ProgressObserver) |
| 181 | { |
| 182 | this->ProgressObserver->UnRegister(this); |
| 183 | } |
| 184 | this->ProgressObserver = po; |
| 185 | if (po) |
| 186 | { |
| 187 | po->Register(this); |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | //------------------------------------------------------------------------------ |
| 193 | void vtkAlgorithm::SetProgressShiftScale(double shift, double scale) |
no test coverage detected