------------------------------------------------------------------------------
| 97 | |
| 98 | //------------------------------------------------------------------------------ |
| 99 | void 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 | //------------------------------------------------------------------------------ |
| 114 | void vtkContextInteractorStyle::RenderNow() |