------------------------------------------------------------------------------
| 266 | |
| 267 | //------------------------------------------------------------------------------ |
| 268 | void vtkContextInteractorStyle::OnMiddleButtonDown() |
| 269 | { |
| 270 | this->BeginProcessingEvent(); |
| 271 | |
| 272 | bool eatEvent = false; |
| 273 | if (this->Scene) |
| 274 | { |
| 275 | vtkContextMouseEvent event; |
| 276 | this->ConstructMouseEvent(event, vtkContextMouseEvent::MIDDLE_BUTTON); |
| 277 | eatEvent = this->ProcessMousePress(event); |
| 278 | } |
| 279 | if (!eatEvent) |
| 280 | { |
| 281 | this->Superclass::OnMiddleButtonDown(); |
| 282 | } |
| 283 | this->EndProcessingEvent(); |
| 284 | } |
| 285 | |
| 286 | //------------------------------------------------------------------------------ |
| 287 | void vtkContextInteractorStyle::OnMiddleButtonUp() |
nothing calls this directly
no test coverage detected