13 #ifndef mitknnInteractiveScribbleInteractor_h
14 #define mitknnInteractiveScribbleInteractor_h
95 void OnEnable()
override;
96 void OnDisable()
override;
97 void OnReset()
override;
100 std::unique_ptr<Impl> m_Impl;
#define MITKPYTHONSEGMENTATION_EXPORT
Base class for all interaction events in MITK.
Base class for all nnInteractive interactors.
nnInteractive interactor for freehand brushstrokes.
ScribbleInteractor()
Constructs a ScribbleInteractor with InteractionType::Scribble.
bool HasInteractions() const override
Checks whether any scribbles have been drawn.
Image::ConstPointer GetLastScribbleMask() const
Returns the binary mask slice of the most recent brushstroke.
~ScribbleInteractor() override
Destructor. Calls OnReset() to clean up data nodes.
const InteractionBoundingBox * GetLastScribbleBoundingBox() const
Returns the interaction bounding box for the most recent brushstroke.
void RemoveLastInteraction(PromptType promptType) override
Removes the most recently drawn brushstroke for the given prompt type.
PromptType
Specifies the types of prompts used in nnInteractive.
std::array< std::array< int, 2 >, 3 > InteractionBoundingBox