Developer documentation | Axl-2.5.1

axlSurfaceRevolutionParametric.h
Go to the documentation of this file.
1 //Author: Hung NGUYEN 9:17 AM 25/08/2014
2 
3 
4 
5 
6 
7 #ifndef AXLSURFACEREVOLUTIONPARAMETRIC_H
8 
9 #define AXLSURFACEREVOLUTIONPARAMETRIC_H
10 
11 
12 
13 
14 
15 #include "axlCoreExport.h"
16 
18 
21 #include <axlCore/axlPoint.h>
22 
23 #include <axlCore/axlLine.h>
24 
25 
26 
27 #include <QtCore>
28 
29 
30 
31 
32 
33 class axlSurfaceRevolutionParametricPrivate;
34 
35 
37 {
38 
39 Q_OBJECT
40 
41 
42 
43 public:
44 
45 axlSurfaceRevolutionParametric(QObject *parent = 0);
46 
47 axlSurfaceRevolutionParametric(axlLine *axe,axlAbstractCurve *curve,double theta1, double theta2, QObject *parent = 0);
48 
50 
51 
52 
53 virtual QString description(void) const;
54 
55 virtual QString identifier(void) const;
56 
57 
58 
59 axlLine *getAxe();
60 
61 axlAbstractCurve *getCurve();
62 
63 double getStartAngle();
64 
65 double getEndAngle();
66 
67 
68 
69 
70 void setAxe(axlLine *line);
71 
72 void setAxe(axlPoint *point1, axlPoint *point2);
73 
74 void setCurve(axlAbstractCurve *curve);
75 
76 void setStartAngle(double ang);
77 
78 void setEndAngle(double ang);
79 
80 void setAngle(double startAngle,double endAngle);
81 
82 
83 
84 
86 
87 
88 
89 
90 
91 private:
92 
93 axlSurfaceRevolutionParametricPrivate *d;
94 
95 
96 
97 };
98 
99 
100 
101 //to be registered to the data factory.
102 
103 dtkAbstractData *createaxlSurfaceRevolutionParametric(void);
104 
105 
106 
107 #endif
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
Class axlLine defines 3D lines.
Definition: axlLine.h:35
dtkAbstractData * createaxlSurfaceRevolutionParametric(void)
#define AXLCORE_EXPORT