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

Method ProcessInteractorEvents

Views/Context2D/vtkContextInteractorStyle.cxx:99–111  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

97
98//------------------------------------------------------------------------------
99void vtkContextInteractorStyle::ProcessInteractorEvents(
100 vtkObject*, unsigned long eventId, void* clientdata, void* vtkNotUsed(calldata))
101{
102 vtkContextInteractorStyle* self = reinterpret_cast<vtkContextInteractorStyle*>(clientdata);
103 if (eventId == vtkCommand::TimerEvent)
104 {
105 // This is a timeout. To avoid the self->RenderNow() from destroying a
106 // already dead timer, just we just reset it.
107 self->SceneTimerId = 0;
108 }
109
110 self->RenderNow();
111}
112
113//------------------------------------------------------------------------------
114void vtkContextInteractorStyle::RenderNow()

Callers

nothing calls this directly

Calls 1

RenderNowMethod · 0.95

Tested by

no test coverage detected