Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
nnInteractive interactor for placing individual points. More...
#include <mitknnInteractivePointInteractor.h>
Public Member Functions | |
PointInteractor () | |
~PointInteractor () override | |
bool | HasInteractions () const override |
Checks whether any interactions have occurred. More... | |
std::optional< Point3D > | GetLastPoint () 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... | |
virtual void | OnSetToolManager () |
Called when a ToolManager is assigned. More... | |
virtual void | OnHandleEvent (InteractionEvent *) |
Called when an interaction event for a tool is received. 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 placing individual points.
Points are managed in up to two PointSet data nodes, separated by prompt type.
Interaction is handled through the PointSetDataInteractor.
Definition at line 30 of file mitknnInteractivePointInteractor.h.
mitk::nnInteractive::PointInteractor::PointInteractor | ( | ) |
|
override |
std::optional<Point3D> mitk::nnInteractive::PointInteractor::GetLastPoint | ( | ) | 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.