Developer documentation | Axl-2.5.1

axlConeParametric.h
Go to the documentation of this file.
1 /* axlConeParametric.h ---
2  *
3  * Author: Hung NGUYEN.
4  */
5 
6 /* Commentary:
7  * This class is used for solidtools Plugin.
8  */
9 
10 /* Change log:
11  *
12  */
13 
14 #ifndef AXLCONEPARAMETRIC_H
15 #define AXLCONEPARAMETRIC_H
16 
17 #include "axlCoreExport.h"
19 
20 #include <QtCore>
21 
22 class axlPoint;
23 class axlCone;
24 class axlConeParametricPrivate;
25 
27  Q_OBJECT
28 
29 public:
32  axlConeParametric(const axlCone& cone, const axlPoint& r);
34  virtual ~axlConeParametric(void);
35 
36  virtual QString description(void) const;
37  virtual QString identifier(void) const;
38 
39  void setCone(axlCone* cone);
40  axlPoint* getR(void) const;
41  void setR(axlPoint* r);
42 
43  axlConeParametric& operator=(const axlConeParametric& other);
44 
45  void modifyR(double* r);
46 
47  axlCone* getCone(void) const;
48  void setCone(const axlCone& cone);
49 
50  virtual axlPoint eval(double u, double v);
51  virtual void eval(axlPoint *point, double u,double v);
52  virtual void eval(double& x, double& y, double& z, double u,double v);
53 
54 // virtual void normal(axlPoint *normal, double, double);
55 
56  virtual void parameterOf(const axlPoint& point, double& um, double& vm);
57 
58 public slots:
59  void onConeChanged(axlCone* cone);
60  void onRChanged(axlPoint* r);
61 
62 private:
63  axlConeParametricPrivate* d;
64 };
65 
66 #endif // AXLCONEPARAMETRIC_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
virtual axlPoint eval(double u, double v)
virtual void parameterOf(const axlPoint &point, double &um, double &vm)
#define AXLCORE_EXPORT
Class axlCone defines 3D cones.
Definition: axlCone.h:34