HOpMarkupMeasure
Functions
| HOpMarkupMeasure | |
| ~HOpMarkupMeasure | |
| char const * | GetName | 
| int | OnLButtonDown | 
| int | OnLButtonDownAndMove | 
| int | OnLButtonUp | 
| int | OnRButtonDown | 
| int | OnKeyDown | 
| HBaseOperator * | Clone | 
Detailed Description
- 
class HOpMarkupMeasure: public HBaseOperator
- The HOpMarkupAnnotate class inserts/manipulates annotation into the current scene. - HOpMarkupAnnotate implements 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
 - Public Functions - 
HOpMarkupMeasure(HBaseView *view, bool AddToLayer = false, int DoRepeat = 0, int DoCapture = 1)
- constructor 
 - 
virtual ~HOpMarkupMeasure()
- destructor 
 - 
virtual char const *GetName()
- Returns: - “HOpMarkupMeasure” 
 - 
virtual int OnLButtonDown(HEventInfo &hevent)
- OnLButtonDown either selects an existing annotation or inserts a new annotation at the current mouse position - Parameters: - hevent – An HEventInfo object containing information about the current event. - Returns: - A value indicating the result of the event handling. 
 - 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
- OnLButtonDownAndMove computes the translation transform based on the distance between the first and current pointer positions, and translates the annotation accordingly. - Parameters: - hevent – An HEventInfo object containing information about the current event. - Returns: - A value indicating the result of the event handling. 
 - 
virtual int OnLButtonUp(HEventInfo &hevent)
- OnLButtonUp finalizes movement of annotation - Parameters: - hevent – An HEventInfo object containing information about the current event. - Returns: - A value indicating the result of the event handling. 
 - 
virtual int OnRButtonDown(HEventInfo &hevent)
- OnRButtonDown finalizes movement of annotation - Parameters: - hevent – An HEventInfo object containing information about the current event. - Returns: - A value indicating the result of the event handling. 
 - 
virtual int OnKeyDown(HEventInfo &hevent)
- OnKeyDown adds/replaces text of the selected annotation - Parameters: - hevent – An HEventInfo object containing information about the current event. - Returns: - A value indicating the result of the event handling. 
 - 
virtual HBaseOperator *Clone()
- Creates a new operator which is associated with the same view as the current operator. The user is responsible for deleting the newly created operator. - Returns: - A pointer to an HBaseOperator object 
 
 
        