13 #ifndef mitknnInteractiveBoxInteractor_h
14 #define mitknnInteractiveBoxInteractor_h
76 void OnEnable()
override;
77 void OnDisable()
override;
78 void OnReset()
override;
81 std::unique_ptr<Impl> m_Impl;
#define MITKPYTHONSEGMENTATION_EXPORT
nnInteractive interactor for drawing rectangular boxes.
BoxInteractor()
Constructs a BoxInteractor with InteractionType::Box.
void RemoveLastInteraction(PromptType promptType) override
Removes the most recently completed box for the given prompt type.
~BoxInteractor() override
Destructor. Calls OnReset() to clean up data nodes.
bool HasInteractions() const override
Checks whether any boxes have been drawn.
const PlanarFigure * GetLastBox() const
Returns the most recently completed box for the current prompt type.
Base class for all nnInteractive interactors.
PromptType
Specifies the types of prompts used in nnInteractive.
Find image slices visible on a given plane.