|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
nnInteractive interactor for drawing contours. More...
#include <mitknnInteractiveLassoInteractor.h>


Public Member Functions | |
| LassoInteractor () | |
| ~LassoInteractor () override | |
| bool | HasInteractions () const override |
| Checks whether any interactions have occurred. More... | |
| const Image * | GetLastLassoMask () const |
Public Member Functions inherited from mitk::nnInteractive::Interactor | |
| 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 | |
Public Attributes inherited from mitk::nnInteractive::Interactor | |
| Message1< bool > | UpdatePreviewEvent |
| Event triggered after an interaction has occurred. More... | |
Protected Member Functions inherited from mitk::nnInteractive::Interactor | |
| 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 drawing contours.
Contours are managed as a list of ContourModel data nodes, organized by PromptType. The most recently drawn contour is also available as a binary image mask.
Interaction is handled through the AddContourTool.
Definition at line 33 of file mitknnInteractiveLassoInteractor.h.
| mitk::nnInteractive::LassoInteractor::LassoInteractor | ( | ) |
|
override |
| const Image* mitk::nnInteractive::LassoInteractor::GetLastLassoMask | ( | ) | 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.