HOpMarkupPostIt
-
class
HOpMarkupPostIt The
HOpMarkupPostItclass inserts and manipulates annotation into the current scene.HOpMarkupPostItimplements three mouse event methods defined on the base class and maps the event information to operator routines. This operation consists of the following steps:- Left Button Down: new annotation created/annotation selected
- Left Button Down and Drag: dragging
- Left Button Up: operation ended
More Detailed Description: see event methods
Inherits from:
HOpMarkupAnnotate
Methods
-
HOpMarkupPostIt::HOpMarkupPostIt(HBaseView *view, int DoRepeat = 0, int DoCapture = 1) Constructs an
HOpMarkupPostItobject.Parameters
view: A pointer to an
HBaseViewobjectDoRepeat: An integer denoting whether this is a repeatable operator. This parameter has been deprecated.
DoCapture: An integer denoting whether the mouse state should be captured, which means that all mouse events should be received after a mousedown, even if it leaves the window. This parameter has been deprecated.
-
virtual char const *
HOpMarkupPostIt::GetName() virtual
Returns
A pointer to a character string denoting the name of the operator, ‘HOpMarkupPostIt‘
-
virtual int
HOpMarkupPostIt::OnLButtonDown(HEventInfo &hevent) virtual
OnLButtonDown either selects an existing annotation or inserts a new annotation into the current markup layer at the current mouse position.
Parameters
hevent: AnHEventInfoobject containing information about the current event.Returns
AnHOperatorReturnindicating the status of the event.