Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpConstructCone.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: 46a63f242417d001901cb898dadae3ac2ac65168 $
13 //
14 
15 // HOpConstructCone.h : interface of the HOpConstructCone class
16 // Constructs a cone using left mouse down and drag
17 
18 #ifndef _HOPConstructCONE_H
19 #define _HOPConstructCONE_H
20 
21 #ifdef H_PACK_8
22 #pragma pack(push)
23 #pragma pack(8)
24 #endif
25 
26 #include "HTools.h"
27 #include "HBaseOperator.h"
28 
30 
43 class MVO_API HOpConstructCone : public HBaseOperator
44 {
45 
46 private:
47  void GenerateLinesThroughCircle( HPoint const &center, float radius );
48 
49 protected:
50  float m_height;
63  void ConstructWireframeCone(HPoint center, float radius, float height);
64 
65 public:
73  HOpConstructCone (HBaseView* view, int DoRepeat=0, int DoCapture=1);
74  virtual ~HOpConstructCone();
75 
76 
80  virtual const char * GetName();
81 
90  virtual int OnLButtonDown(HEventInfo &hevent);
91 
98  virtual int OnNoButtonDownAndMove(HEventInfo &hevent);
99 
107  virtual int OnLButtonDownAndMove(HEventInfo &hevent);
108 
115  virtual int OnLButtonUp(HEventInfo &hevent);
116 
122  virtual HBaseOperator * Clone();
123 };
124 
125 #ifdef H_PACK_8
126 #pragma pack(pop)
127 #endif
128 
129 #endif
130 
131 
132 
133 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
float m_height
Definition: HOpConstructCone.h:50
float m_RadiusLength
Definition: HOpConstructCone.h:51
virtual int OnNoButtonDownAndMove(HEventInfo &hevent)
The HOpConstructCone class provides support for constructing a cone and inserting it into the model...
Definition: HOpConstructCone.h:43
class HPoint HVector
The HVector class is the data type of a three-dimensional vector.
Definition: HGlobals.h:332
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
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnLButtonDown(HEventInfo &hevent)
HVector m_WorldRadiusVector
Definition: HOpConstructCone.h:52