Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpMoveHandle.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: 047143d7c74ee6aa82f16c01179cf629d4fc7330 $
13 //
14 
15 // HOpMoveHandle.h : interface of the HOpMoveHandle class
16 // selection/movement of geometry handles
17 
18 #ifndef _HOpMoveHandle_H
19 #define _HOpMoveHandle_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 "HUtilityGeomHandle.h"
29 
31 
41 class MVO_API HOpMoveHandle : public HBaseOperator
42 {
43 public:
52  HOpMoveHandle (HBaseView* view, bool allowSelect = true, int DoRepeat=0, int DoCapture=1);
53  virtual ~HOpMoveHandle();
54 
55 
59  virtual const char * GetName();
60 
67  virtual int OnLButtonDown (HEventInfo &hevent);
68 
75  virtual int OnLButtonDownAndMove(HEventInfo &hevent);
76 
82  virtual int OnNoButtonDownAndMove(HEventInfo &hevent);
83 
89  virtual int OnLButtonUp (HEventInfo &hevent);
90 
91 
93  HC_KEY FindHandle(HEventInfo &hevent);
94 
102  HC_KEY FindObject(HEventInfo &hevent, HC_KEY key, bool exclude = false);
103 
108  void SetupObject(HC_KEY key);
109 
111  void Reset();
112 
118  virtual HBaseOperator * Clone();
119 
120 protected:
121 
125 
126 private:
127  HPoint m_windowspaceDelta;
128 
129 };
130 
131 
132 #ifdef H_PACK_8
133 #pragma pack(pop)
134 #endif
135 
136 #endif
137 
138 
139 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
HC_KEY m_pHandleKey
The key of the active handle.
Definition: HOpMoveHandle.h:122
virtual int OnLButtonUp(HEventInfo &hevent)
#define HC_KEY
virtual int OnNoButtonDownAndMove(HEventInfo &hevent)
The HOpMoveHandle class selects/moves "handles" and their associated geometry.
Definition: HOpMoveHandle.h:41
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)
HC_KEY m_pObjectKey
The key of the handle object.
Definition: HOpMoveHandle.h:123
bool m_bAllowSelect
If the value is true, this class allows selection of different handle objects. This is disabled for c...
Definition: HOpMoveHandle.h:124