Studio/Visualization/StudioSliceInteractorStyle.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::StudioSliceInteractorStyle |
Source code
```cpp
pragma once
include
include
include
class vtkImageActor; class vtkImageSlice;
namespace shapeworks {
class Lightbox;
// Handle mouse events class StudioSliceInteractorStyle : public vtkInteractorStyleImage { public: static StudioSliceInteractorStyle* New(); vtkTypeMacro(StudioSliceInteractorStyle, vtkInteractorStyleImage);
void set_lightbox(Lightbox* lightbox);
StudioSliceInteractorStyle();
virtual ~StudioSliceInteractorStyle();
void OnLeftButtonDown() override; void OnRightButtonDown() override; void OnMouseWheelForward() override; void OnMouseWheelBackward() override; void OnKeyDown() override; void WindowLevel() override; void StartWindowLevel() override;
protected: private: Lightbox lightbox_; vtkImageSlice current_image_slice_{nullptr}; };
} // namespace shapeworks ```
Updated on 2026-03-31 at 16:02:11 +0000