------------------------------------------------------------------------------ old-style group #1 just destroy last one created
| 820 | // old-style group #1 |
| 821 | // just destroy last one created |
| 822 | int 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 |