#include <ImFusion/GUI/PointBasedAnnotationManipulator2.h>
Manipulator for point-based annotations.
More...
Manipulator for point-based annotations.
|
|
void | onHandleClicked (int handle, Qt::MouseButton button) |
| |
|
void | onLineClicked (QMouseEvent *e, const GlView &view) |
| |
|
void | onMouseButtonRelease () |
| |
|
void | setOpenHand () |
| | Sets cursor to open hand.
|
| |
|
void | setClosedHand () |
| | Sets cursor to closed (grabbing) hand.
|
| |
|
void | resetCursor () |
| | Resets cursor to default.
|
| |
|
void | setActive (bool v) |
| | Sets whether this annotation processes scene events.
|
| |
|
bool | active () |
| |
|
void | moveHandle (QMouseEvent *e, const GlView &view) |
| | Moves a single handle.
|
| |
|
void | moveAllHandles (QMouseEvent *e, const GlView &view) |
| | Moves the whole annotation.
|
| |
|
void | moveStickyHandle (QMouseEvent *e, const GlView &view) |
| | Moves the handle sticking to the cursor, used during creation of the annotation.
|
| |
|
bool | placeHandle (QMouseEvent *e, const GlView &view) |
| | Sets down the handle sticking to the cursor.
|
| |
|
void | updateAnnotation (const GlView &view) |
| | Sets view of the annotation and calls its updatePoints method, should be used when at least 1 handle has changed.
|
| |
| bool | checkForParentView (const GlView &view) |
| | Checks if the given view fits the annotation (ie the points are in the plane spanned by the view).
|
| |
|
void | notifyListeners (void *eventData) |
| |
◆ sceneEvent()
| bool sceneEvent |
( |
QEvent * | event, |
|
|
const GlView & | view ) |
|
overridevirtual |
◆ checkForParentView()
| bool checkForParentView |
( |
const GlView & | view | ) |
|
|
protected |
Checks if the given view fits the annotation (ie the points are in the plane spanned by the view).
If so, it sets the annotation's view to this one. Use for annotations loaded from workspaces.
The documentation for this class was generated from the following file:
- ImFusion/GUI/PointBasedAnnotationManipulator2.h