HOpSelectArea.h
1 // Copyright (c) Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 // HOpSelectArea.h : interface of the HOpSelectArea class, derived from HOpSelect
11 // Handles area selection
12 
13 #ifndef _HOPSELECTAREA_H
14 #define _HOPSELECTAREA_H
15 
16 #ifdef H_PACK_8
17 #pragma pack(push)
18 #pragma pack(8)
19 #endif
20 
21 #include "HTools.h"
22 #include "HOpConstructRectangle.h"
23 
24 
26 
38 class MVO_API HOpSelectArea : public HOpConstructRectangle
39 {
40 public:
48  HOpSelectArea(HBaseView* view, int DoRepeat=0, int DoCapture=1);
49  virtual ~HOpSelectArea();
50 
54  virtual const char * GetName();
55 
63  virtual int OnLButtonDown(HEventInfo &hevent);
64 
72  virtual int OnLButtonUp(HEventInfo &hevent);
73 
79  virtual HBaseOperator * Clone();
80 };
81 
82 
83 #ifdef H_PACK_8
84 #pragma pack(pop)
85 #endif
86 
87 #endif
88 
89 
90 
91 
virtual HBaseOperator * Clone()
virtual int OnLButtonUp(HEventInfo &hevent)
virtual int OnLButtonDown(HEventInfo &hevent)
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
virtual const char * GetName()
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
The HOpConstructRectangle class draws a rectangle.
Definition: HOpConstructRectangle.h:39
The HOpSelectArea class computes a selection list for objects inside a rectangular area...
Definition: HOpSelectArea.h:38
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207