#include <ImFusion/Seg/LabelingManipulator.h>
Manipulator for circle-based annotations.
More...
Manipulator for circle-based annotations.
|
|
| LabelingManipulator (SharedImageSet &inputImage, SharedImageSet &labelMap, GlCircle *circle, Mode mode=Mode::Draw) |
| |
|
void | setLabel (int label) |
| |
|
void | clear () |
| |
|
bool | active () const |
| | returns whether the manipulator is currently active (i.e. a mouse button is pressed)
|
| |
| GUI::EventResult | handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override |
| | This function is called by sources of input events in order to dispatch them to the handlers.
|
| |
|
void | setMouseWheelCallback (MouseWheelCallback m) |
| |
|
void | setModified (bool b) |
| |
|
bool | isModified () const |
| |
|
bool | undo () |
| |
|
bool | hasUndo () const |
| |
|
void | recordUndo () |
| |
|
bool | clearUndo () |
| |
|
void | performFloodFill (vec3 world) |
| |
|
Seg::LabelPainter & | painter () |
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |
|
|
bool | sceneEventDraw (const vec3 &world, int label) |
| |
|
bool | sceneEventFloodFill (const vec3 &world) |
| |
|
void | updateIndicator (const GlView &view) |
| |
|
void | disconnectAll () |
| | Disconnects all existing connections.
|
| |
◆ handleInputEvent()
This function is called by sources of input events in order to dispatch them to the handlers.
In case there are more than one InputEventHandlers dispatchers are intended call this function consecutively until the first handler indicates to stop by returning a result where EventResult::stopPropagation() is true.
Implements ViewObject::EventHandler.
The documentation for this class was generated from the following file:
- ImFusion/Seg/LabelingManipulator.h