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

Method OnRightButtonUp

Interaction/Widgets/vtkImagePlaneWidget.cxx:778–792  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

776
777//------------------------------------------------------------------------------
778void vtkImagePlaneWidget::OnRightButtonUp()
779{
780 switch (this->RightButtonAction)
781 {
782 case vtkImagePlaneWidget::VTK_CURSOR_ACTION:
783 this->StopCursor();
784 break;
785 case vtkImagePlaneWidget::VTK_SLICE_MOTION_ACTION:
786 this->StopSliceMotion();
787 break;
788 case vtkImagePlaneWidget::VTK_WINDOW_LEVEL_ACTION:
789 this->StopWindowLevel();
790 break;
791 }
792}
793
794//------------------------------------------------------------------------------
795void vtkImagePlaneWidget::StartCursor()

Callers 1

ProcessEventsMethod · 0.95

Calls 3

StopCursorMethod · 0.95
StopSliceMotionMethod · 0.95
StopWindowLevelMethod · 0.95

Tested by

no test coverage detected