Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpPolygonMarkup.h
1 
2 #ifndef _MyPolygonMarkupOp_H
3 #define _MyPolygonMarkupOp_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 MyPolygonMarkupOp : public HBaseOperator
15 {
16 public:
17  MyPolygonMarkupOp(HBaseView* view, int DoRepeat=0, int DoCapture=1);
18 
19  static void CreateMarkupPolygon(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  virtual void CompleteLastMarkup();
32  virtual void BeginNewMarkup();
33 
34  HC_KEY m_LastKey;
35  char markup_seg[4096];
36  static long markup_incarnation;
37 };
38 
39 
40 
41 #ifdef H_PACK_8
42 #pragma pack(pop)
43 #endif
44 
45 #endif
46 
47 
48 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
Definition: HOpPolygonMarkup.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)