Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpConstructNurbsCurve.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: 7d634680a917a20298823b1ba71d383e602594f0 $
13 //
14 
15 // HOpConstructNurbsCurve.h - interface for the HOpConstructNurbsCurve class
16 // started GP 11/1/99
17 
18 #ifndef _HOPConstructNURBSCURVE_H
19 #define _HOPConstructNURBSCURVE_H
20 
21 #ifdef H_PACK_8
22 #pragma pack(push)
23 #pragma pack(8)
24 #endif
25 
26 #include "HTools.h"
27 #include "HOpConstructPolyline.h"
28 
29 
31 
47 {
48 protected:
49  int m_Degree; // The order of the nurbs curve.
50  float* m_WeightsArray; // The array of weight values applied to the control points.
51  float* m_KnotsArray; // The array of knot values applied to the control points.
52  int m_StartU;
53  int m_EndU;
54  bool m_bFirstTimeThrough;
55 
56 public:
64  HOpConstructNurbsCurve(HBaseView* view, int DoRepeat=0, int DoCapture=1);
65  virtual ~HOpConstructNurbsCurve();
66 
72  virtual HBaseOperator * Clone();
76  virtual const char * GetName();
77 
78 
88  virtual int OnNoButtonDownAndMove(HEventInfo &hevent);
89 
97  virtual int OnLButtonDown(HEventInfo &hevent);
98 
105  virtual int OnLButtonDblClk(HEventInfo &hevent);
106 
112  virtual int OnMButtonDown(HEventInfo &hevent);
113 };
114 
115 
116 #ifdef H_PACK_8
117 #pragma pack(pop)
118 #endif
119 
120 #endif
121 
122 
123 
virtual int OnMButtonDown(HEventInfo &hevent)
virtual int OnLButtonDblClk(HEventInfo &hevent)
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
virtual HBaseOperator * Clone()
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnNoButtonDownAndMove(HEventInfo &hevent)
The HOpConstructPolyline class draws a polyline.
Definition: HOpConstructPolyline.h:50
virtual int OnLButtonDown(HEventInfo &hevent)
The HOpConstructNurbsCurve class provides support for constructing a Non Uniform Rational B-Spline (N...
Definition: HOpConstructNurbsCurve.h:46
virtual const char * GetName()