Add setPatientDetail event

This commit is contained in:
Krad
2022-04-02 16:01:49 +08:00
parent 033f2158dd
commit c36e361f66
2 changed files with 4 additions and 1 deletions

View File

@@ -323,6 +323,7 @@ void ActorDraggableInteractorStyle::WindowLevel()
void ActorDraggableInteractorStyle::OnRightButtonDown() void ActorDraggableInteractorStyle::OnRightButtonDown()
{ {
this->InvokeEvent(AfterViewerClicked);
int x = this->Interactor->GetEventPosition()[0]; int x = this->Interactor->GetEventPosition()[0];
int y = this->Interactor->GetEventPosition()[1]; int y = this->Interactor->GetEventPosition()[1];
@@ -338,6 +339,7 @@ void ActorDraggableInteractorStyle::OnRightButtonDown()
} }
} }
void ActorDraggableInteractorStyle::OnLeftButtonDown() { void ActorDraggableInteractorStyle::OnLeftButtonDown() {
this->InvokeEvent(AfterViewerClicked);
int x = this->Interactor->GetEventPosition()[0]; int x = this->Interactor->GetEventPosition()[0];
int y = this->Interactor->GetEventPosition()[1]; int y = this->Interactor->GetEventPosition()[1];

View File

@@ -44,7 +44,8 @@ public:
DeleteMeasureEvent, DeleteMeasureEvent,
RightButtonClickEvent, RightButtonClickEvent,
ScalarOpacityEvent, ScalarOpacityEvent,
ScalarShiftEvent ScalarShiftEvent,
AfterViewerClicked
}; };
/** /**