feat: add GetCurrentImageSlice function to Style

This commit is contained in:
kradchen
2025-06-16 14:47:24 +08:00
parent 641f63a6ee
commit 5fe655daa3

View File

@@ -111,6 +111,10 @@ vtkTypeMacro(ActorDraggableInteractorStyle, vtkInteractorStyleImage);
CurrentImageSlice = slice;
CurrentImageProperty = slice->GetProperty();
}
vtkImageSlice * GetCurrentImageSlice()
{
return CurrentImageSlice;
}
protected: