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

Method OnLeftButtonDown

Interaction/Widgets/vtkImagePlaneWidget.cxx:693–707  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

691
692//------------------------------------------------------------------------------
693void 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//------------------------------------------------------------------------------
710void vtkImagePlaneWidget::OnLeftButtonUp()

Callers 1

ProcessEventsMethod · 0.95

Calls 3

StartCursorMethod · 0.95
StartSliceMotionMethod · 0.95
StartWindowLevelMethod · 0.95

Tested by

no test coverage detected