13 #ifndef mitknnInteractiveLassoInteractor_h
14 #define mitknnInteractiveLassoInteractor_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 drawing contours.
bool HasInteractions() const override
Checks whether any contours have been drawn.
Image::ConstPointer GetLastLassoMask() const
Returns the binary mask slice of the most recently drawn contour.
const InteractionBoundingBox * GetLastLassoBoundingBox() const
Returns the interaction bounding box for the most recently drawn contour.
~LassoInteractor() override
Destructor. Calls OnReset() to clean up data nodes.
void RemoveLastInteraction(PromptType promptType) override
Removes the most recently drawn contour for the given prompt type.
LassoInteractor()
Constructs a LassoInteractor with InteractionType::Lasso.
PromptType
Specifies the types of prompts used in nnInteractive.
std::array< std::array< int, 2 >, 3 > InteractionBoundingBox