Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpFreehandGeometryMarkup.h
1 
2 #ifndef _MyFreehandMarkupOp_H
3 #define _MyFreehandMarkupOp_H
4 
5 #ifdef H_PACK_8
6 #pragma pack(push)
7 #pragma pack(8)
8 #endif
9 
10 #include "HTools.h"
11 #include "HBaseOperator.h"
12 
13 
14 class MVO_API MyFreehandMarkupOp : public HBaseOperator
15 {
16 public:
17  MyFreehandMarkupOp(HBaseView* view, int DoRepeat=0, int DoCapture=1);
18 
19  static void CreateMarkupFreehand(HBaseView *pView, const char *segment, unsigned int PolyLineLength, HPoint *pPolyline, bool emit_message);
20 
21  HBaseOperator * Clone();
22  virtual const char * GetName();
23 
24 protected:
25 
26  virtual int OnLButtonDownAndMove(HEventInfo &hevent);
27  virtual int OnLButtonDown(HEventInfo &hevent);
28  virtual int OnLButtonUp(HEventInfo &hevent);
29 
30  virtual void MarkupSelection(HEventInfo &hevent);
31 
32  HC_KEY m_LastKey;
33  static long markup_incarnation;
34 };
35 
36 
37 #ifdef H_PACK_8
38 #pragma pack(pop)
39 #endif
40 
41 #endif
42 
43 
44 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
Definition: HOpFreehandGeometryMarkup.h:14
#define HC_KEY
virtual HBaseOperator * Clone()
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:126
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnLButtonDown(HEventInfo &hevent)