Skip to content
Snippets Groups Projects
Commit 155f7088 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri :speech_balloon: Committed by Kitware Robot
Browse files

Merge topic 'orientation_marker_api' into release


5dc51e61 Make some orientation marker widget methods virtual

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4590
parents aa5b0608 5dc51e61
No related branches found
No related tags found
No related merge requests found
......@@ -174,9 +174,9 @@ protected:
void *clientdata, void *calldata);
// ProcessEvents() dispatches to these methods.
void OnLeftButtonDown();
void OnLeftButtonUp();
void OnMouseMove();
virtual void OnLeftButtonDown();
virtual void OnLeftButtonUp();
virtual void OnMouseMove();
// observer to update the renderer's camera
vtkOrientationMarkerWidgetObserver *Observer;
......@@ -207,10 +207,10 @@ protected:
// use to determine what state the mouse is over, edge1 p1, etc.
// returns a state from the WidgetState enum above
int ComputeStateBasedOnPosition(int X, int Y, int *pos1, int *pos2);
virtual int ComputeStateBasedOnPosition(int X, int Y, int *pos1, int *pos2);
// set the cursor to the correct shape based on State argument
void SetCursor(int state);
virtual void SetCursor(int state);
// adjust the viewport depending on state
void MoveWidget(int X, int Y);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment