HOpCreateCuttingPlane.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 // CreateCuttingPlane.h : interface of the CreateCuttingPlane class
11 // Creates a CuttingPlane using left mouse down and drag left right
12 
13 #ifndef _HOPCREATECUTTINGPLANE_H
14 #define _HOPCREATECUTTINGPLANE_H
15 
16 #ifdef H_PACK_8
17 #pragma pack(push)
18 #pragma pack(8)
19 #endif
20 
21 #include "HTools.h"
22 #include "HOpObjectTranslate.h"
23 
24 
26 
38 {
39 public:
46  HOpCreateCuttingPlane (HBaseView* view, int DoRepeat=0, int DoCapture=1);
47 
51  virtual const char * GetName();
52 
60  virtual int OnLButtonDown(HEventInfo &hevent);
61 
68  virtual int OnLButtonUp(HEventInfo &hevent);
69 
74  virtual HBaseOperator * Clone();
75 
76 private:
77  void MakeCuttingPlane(float z, float rad);
78 
79 };
80 
81 
82 #ifdef H_PACK_8
83 #pragma pack(pop)
84 #endif
85 
86 #endif
87 
88 
89 
90 
91 
92 
The HOpCreateCuttingPlane class provides support for construction a cutting plane and inserting it in...
Definition: HOpCreateCuttingPlane.h:37
virtual HBaseOperator * Clone()
virtual int OnLButtonUp(HEventInfo &hevent)
virtual const char * GetName()
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207
virtual int OnLButtonDown(HEventInfo &hevent)
The HOpObjectTranslate class translates a selected object.
Definition: HOpObjectTranslate.h:41