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

Method DestroyTimer

Rendering/Core/vtkRenderWindowInteractor.cxx:822–834  ·  view source on GitHub ↗

------------------------------------------------------------------------------ old-style group #1 just destroy last one created

Source from the content-addressed store, hash-verified

820// old-style group #1
821// just destroy last one created
822int vtkRenderWindowInteractor::DestroyTimer()
823{
824 int timerId = vtkTimerId;
825 vtkTimerIdMapIterator iter = this->TimerMap->find(timerId);
826 if (iter != this->TimerMap->end())
827 {
828 this->InternalDestroyTimer((*iter).second.Id);
829 this->TimerMap->erase(iter);
830 return 1;
831 }
832
833 return 0;
834}
835
836//------------------------------------------------------------------------------
837// new-style group #2 returns timer id

Callers 4

StopStateMethod · 0.45
StopAnimateMethod · 0.45
OnTimerMethod · 0.45
ExecuteMethod · 0.45

Calls 4

InternalDestroyTimerMethod · 0.95
findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by 1

ExecuteMethod · 0.36