Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
nnInteractive interactor for freehand brushstrokes. More...
#include <mitknnInteractiveScribbleInteractor.h>
Public Member Functions | |
ScribbleInteractor () | |
~ScribbleInteractor () override | |
bool | HasInteractions () const override |
Checks whether any interactions have occurred. More... | |
const Image * | GetLastScribbleMask () const |
![]() | |
virtual | ~Interactor () |
InteractionType | GetType () const |
Returns the interaction type associated with this interactor. More... | |
void | SetToolManager (ToolManager *toolManager) |
Sets the ToolManager for this interactor. More... | |
void | HandleEvent (InteractionEvent *event) |
Handles an interaction event. More... | |
void | Enable (PromptType promptType) |
Enables the interactor for the given prompt type. More... | |
void | Disable () |
Disables the interactor. More... | |
bool | IsEnabled () const |
Checks whether the interactor is currently enabled. More... | |
void | Reset () |
Resets the interactor to its initial state. More... | |
std::string | GetIcon () const |
Retrieves the SVG icon as a string from module resources. More... | |
std::string | GetCursor (PromptType promptType) const |
Retrieves the SVG cursor as a string from module resources based on PromptType. More... | |
Additional Inherited Members | |
![]() | |
Message1< bool > | UpdatePreviewEvent |
Event triggered after an interaction has occurred. More... | |
![]() | |
Interactor (InteractionType type, InteractionMode mode=InteractionMode::Default) | |
Constructs an interactor with a given type and mode. More... | |
ToolManager * | GetToolManager () const |
Returns the ToolManager associated with this interactor. More... | |
DataStorage * | GetDataStorage () const |
Convenience method for accessing the DataStorage. More... | |
PromptType | GetCurrentPromptType () const |
Returns the currently active prompt type. More... | |
nnInteractive interactor for freehand brushstrokes.
Scribbles are managed as labels of a common MultiLabelSegmentation, organized by PromptType.
Interaction is handled through the DrawPaintbrushTool.
Definition at line 32 of file mitknnInteractiveScribbleInteractor.h.
mitk::nnInteractive::ScribbleInteractor::ScribbleInteractor | ( | ) |
|
override |
const Image* mitk::nnInteractive::ScribbleInteractor::GetLastScribbleMask | ( | ) | const |
|
overridevirtual |
Checks whether any interactions have occurred.
Derived classes must implement this method to determine whether the interactor has processed any interactions.
Implements mitk::nnInteractive::Interactor.