Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpConstructPolyline.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: d237580407e1e9522784ba3712401e61e8ae4608 $
13 //
14 
15 // HOpConstructPolyline.h : interface of the HOpConstructPolyline class
16 //
17 // Draws a polyline in the view plane based on pointer input
18 // Polyline points are stored in protected member variables and ready after
19 // OnLButtonDblClk method has been called.
20 // Derived Classes should call this::OnLButtonDblClk in their overloaded implementation.
21 // Polyline points are in window space.
22 
23 
24 #ifndef _HOPCONSTRUCTPOLYLINE_H
25 #define _HOPCONSTRUCTPOLYLINE_H
26 
27 #ifdef H_PACK_8
28 #pragma pack(push)
29 #pragma pack(8)
30 #endif
31 
32 #include "HTools.h"
33 #include "HBaseOperator.h"
34 
35 
37 
50 class MVO_API HOpConstructPolyline : public HBaseOperator
51 {
52 public:
60  HOpConstructPolyline(HBaseView* view, int DoRepeat=0, int DoCapture=1);
61  virtual ~HOpConstructPolyline();
62 
68  virtual HBaseOperator * Clone();
69 
73  virtual const char * GetName();
74 
86  virtual int OnNoButtonDownAndMove(HEventInfo &hevent);
87 
94  virtual int OnLButtonDown(HEventInfo &hevent);
95 
101  virtual int OnLButtonDblClk(HEventInfo &hevent);
102 
103 protected:
104 
110 };
111 
112 #ifdef H_PACK_8
113 #pragma pack(pop)
114 #endif
115 
116 #endif
117 
118 
119 
virtual const char * GetName()
#define HC_KEY
virtual int OnNoButtonDownAndMove(HEventInfo &hevent)
HPoint m_ptLast
Definition: HOpConstructPolyline.h:107
int m_PolylineCount
Definition: HOpConstructPolyline.h:109
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
virtual int OnLButtonDblClk(HEventInfo &hevent)
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnLButtonDown(HEventInfo &hevent)
HC_KEY m_PolylineKey
Definition: HOpConstructPolyline.h:75
The HOpConstructPolyline class draws a polyline.
Definition: HOpConstructPolyline.h:50
HPoint * m_pPolyline
Definition: HOpConstructPolyline.h:108