Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpMarkupMeasure.h
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 8516e1d22e19e87d00e5e537226a320e3ef215f0 $
13 //
14 
15 // HOpMarkupMeasure.h : interface of the HOpMarkupMeasure class
16 // inserts measurement into the current scene
17 
18 #ifndef _HOPMARKUPMEASURE_H
19 #define _HOPMARKUPMEASURE_H
20 
21 #ifdef H_PACK_8
22 #pragma pack(push)
23 #pragma pack(8)
24 #endif
25 
26 #include "HTools.h"
27 #include "HBaseOperator.h"
28 #include "HUtilityAnnotationMeasure.h"
29 
31 
41 class MVO_API HOpMarkupMeasure : public HBaseOperator
42 {
43 public:
44 
47  HOpMarkupMeasure (HBaseView* view, bool AddToLayer = false, int DoRepeat=0, int DoCapture=1);
48 
50  virtual ~HOpMarkupMeasure();
51 
54  virtual const char * GetName();
55 
61  virtual int OnLButtonDown (HEventInfo &hevent);
62 
69  virtual int OnLButtonDownAndMove(HEventInfo &hevent);
70 
76  virtual int OnLButtonUp (HEventInfo &hevent);
77 
83  virtual int OnRButtonDown (HEventInfo &hevent);
84 
90  virtual int OnKeyDown(HEventInfo &hevent);
91 
92  virtual HBaseOperator * Clone();
93 
94 protected:
95 
98  void StartOp(void);
99 
104  bool EndOp(void);
105 
108 
111 
114 
117 
120 
123 };
124 
125 
126 
127 #ifdef H_PACK_8
128 #pragma pack(pop)
129 #endif
130 
131 #endif
132 
133 
134 
135 
136 
137 
138 
139 
140 
141 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
The HOpMarkupAnnotate class inserts/manipulates annotation into the current scene.
Definition: HOpMarkupMeasure.h:41
bool m_bHideOverlappedText
Definition: HOpMarkupMeasure.h:122
bool m_bAddToLayer
Definition: HOpMarkupMeasure.h:113
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
virtual int OnRButtonDown(HEventInfo &hevent)
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
int m_iBackgroundType
Definition: HOpMarkupMeasure.h:110
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnKeyDown(HEventInfo &hevent)
virtual int OnLButtonDown(HEventInfo &hevent)
The HUtilityAnnotationMeasure class defines and manages annotations.
Definition: HUtilityAnnotationMeasure.h:34
bool m_bTouchedText
Definition: HOpMarkupMeasure.h:119
HUtilityAnnotationMeasure m_Annotation
Definition: HOpMarkupMeasure.h:107
bool m_bNewNote
Definition: HOpMarkupMeasure.h:116