Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCreateRectangle.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 // HOpCreateRectangle.h : interface of the HOpCreateion class
13 // draws a 2D box in view port based on pointer first position and last position
14 // Derived classes access the Points for the rectangle in HBaseOperator members
15 // m_ptFirst and m_ptLast; Points are stored in window space.
16 
17 
18 #ifndef _HOPCREATERECTANGLE_H
19 #define _HOPCREATERECTANGLE_H
20 
21 #ifdef H_PACK_8
22 #pragma pack(push)
23 #pragma pack(8)
24 #endif
25 
26 #include "HTools.h"
27 #include "HOpConstructRectangle.h"
28 
30 
42 {
43 public:
52  HOpCreateRectangle(HBaseView* view, int DoRepeat=0, int DoCapture=1, bool UseCenterMarker=true);
53  virtual ~HOpCreateRectangle();
54 
58  virtual const char * GetName();
59 
65  virtual HBaseOperator * Clone();
66 
72  virtual int OnLButtonUp(HEventInfo &hevent);
73 };
74 
75 #ifdef H_PACK_8
76 #pragma pack(pop)
77 #endif
78 
79 #endif
80 
81 
82 
The HOpCreateRectangle class draws a rectangle.
Definition: HOpCreateRectangle.h:41
virtual HBaseOperator * Clone()
virtual int OnLButtonUp(HEventInfo &hevent)
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
virtual const char * GetName()
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
The HOpConstructRectangle class draws a rectangle.
Definition: HOpConstructRectangle.h:44
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214