Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

HOpCreateRectangle.h
1 // Copyright (c) Tech Soft 3D
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 // HOpCreateRectangle.h : interface of the HOpCreateion class
11 // draws a 2D box in view port based on pointer first position and last position
12 // Derived classes access the Points for the rectangle in HBaseOperator members
13 // m_ptFirst and m_ptLast; Points are stored in window space.
14 
15 #ifndef _HOPCREATERECTANGLE_H
16 #define _HOPCREATERECTANGLE_H
17 
18 #ifdef H_PACK_8
19 #pragma pack(push)
20 #pragma pack(8)
21 #endif
22 
23 #include "HTools.h"
24 #include "HOpConstructRectangle.h"
25 
27 
39 {
40 public:
49  HOpCreateRectangle(HBaseView* view, int DoRepeat=0, int DoCapture=1, bool UseCenterMarker=true);
50  virtual ~HOpCreateRectangle();
51 
55  virtual const char * GetName();
56 
62  virtual HBaseOperator * Clone();
63 
69  virtual int OnLButtonUp(HEventInfo &hevent);
70 };
71 
72 #ifdef H_PACK_8
73 #pragma pack(pop)
74 #endif
75 
76 #endif
77 
78 
79 
The HOpCreateRectangle class draws a rectangle.
Definition: HOpCreateRectangle.h:38
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: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 HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207