------------------------------------------------------------------------------
| 691 | |
| 692 | //------------------------------------------------------------------------------ |
| 693 | void vtkImagePlaneWidget::OnLeftButtonDown() |
| 694 | { |
| 695 | switch (this->LeftButtonAction) |
| 696 | { |
| 697 | case vtkImagePlaneWidget::VTK_CURSOR_ACTION: |
| 698 | this->StartCursor(); |
| 699 | break; |
| 700 | case vtkImagePlaneWidget::VTK_SLICE_MOTION_ACTION: |
| 701 | this->StartSliceMotion(); |
| 702 | break; |
| 703 | case vtkImagePlaneWidget::VTK_WINDOW_LEVEL_ACTION: |
| 704 | this->StartWindowLevel(); |
| 705 | break; |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | //------------------------------------------------------------------------------ |
| 710 | void vtkImagePlaneWidget::OnLeftButtonUp() |
no test coverage detected