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

Method UnRegisterProgress

Views/Core/vtkView.cxx:317–329  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

315
316//------------------------------------------------------------------------------
317void vtkView::UnRegisterProgress(vtkObject* algorithm)
318{
319 if (algorithm)
320 {
321 std::map<vtkObject*, std::string>::iterator iter =
322 this->Internal->RegisteredProgress.find(algorithm);
323 if (iter != this->Internal->RegisteredProgress.end())
324 {
325 this->Internal->RegisteredProgress.erase(iter);
326 algorithm->RemoveObservers(vtkCommand::ProgressEvent, this->Observer);
327 }
328 }
329}
330
331//------------------------------------------------------------------------------
332void vtkView::Update()

Callers 2

RemoveFromViewMethod · 0.80
RemoveFromViewMethod · 0.80

Calls 4

RemoveObserversMethod · 0.80
findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected