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

Method TimerEvent

Rendering/UI/vtkGenericRenderWindowInteractor.cxx:20–34  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

18
19//------------------------------------------------------------------
20void vtkGenericRenderWindowInteractor::TimerEvent()
21{
22 if (!this->Enabled)
23 {
24 return;
25 }
26
27 int timerId = this->GetCurrentTimerId();
28 this->InvokeEvent(vtkCommand::TimerEvent, &timerId);
29
30 if (!this->IsOneShotTimer(timerId) && this->GetTimerEventResetsTimer())
31 {
32 this->ResetTimer(timerId);
33 }
34}
35
36//------------------------------------------------------------------
37int vtkGenericRenderWindowInteractor::InternalCreateTimer(

Callers

nothing calls this directly

Calls 4

GetCurrentTimerIdMethod · 0.80
InvokeEventMethod · 0.80
IsOneShotTimerMethod · 0.80
ResetTimerMethod · 0.80

Tested by

no test coverage detected