diff --git a/src/src/Interaction/ActorDraggableInteractorStyle.h b/src/src/Interaction/ActorDraggableInteractorStyle.h index 88bf479..2e97854 100644 --- a/src/src/Interaction/ActorDraggableInteractorStyle.h +++ b/src/src/Interaction/ActorDraggableInteractorStyle.h @@ -111,6 +111,10 @@ vtkTypeMacro(ActorDraggableInteractorStyle, vtkInteractorStyleImage); CurrentImageSlice = slice; CurrentImageProperty = slice->GetProperty(); } + vtkImageSlice * GetCurrentImageSlice() + { + return CurrentImageSlice; + } protected: