Developer documentation | Axl-2.5.1

axlSurfaceRevolution.h
Go to the documentation of this file.
1 //Author: Hung NGUYEN 9:17 AM 20/05/2014
2 
3 #ifndef AXLSURFACEREVOLUTION_H
4 #define AXLSURFACEREVOLUTION_H
5 
6 #include "axlCoreExport.h"
10 #include <axlCore/axlPoint.h>
11 #include <axlCore/axlLine.h>
12 
13 #include <QtCore>
14 
15 class axlSurfaceRevolutionPrivate;
16 
18 {
19 
20 Q_OBJECT
21 
22 
23 
24 public:
25 
26 axlSurfaceRevolution(QObject *parent = 0);
27 
28 axlSurfaceRevolution(axlLine *axe,QList<axlAbstractCurve *> curves,double theta1, double theta2, QObject *parent = 0);
29 
31 
32 
33 
34 virtual QString description(void) const;
35 
36 virtual QString identifier(void) const;
37 
38 
39 
40 axlLine *getAxe();
41 
42 QList<axlAbstractCurve *> getCurves();
43 
44 double getStartAngle();
45 
46 double getEndAngle();
47 
48 int countCurve();
49 
50 axlAbstractCurve *getCurve(int id);
51 
52 
53 
54 
55 
56 void setAxe(axlLine *line);
57 
58 void setAxe(axlPoint *point1, axlPoint *point2);
59 
60 void setCurves(QList<axlAbstractCurve *> curves);
61 
62 void setStartAngle(double ang);
63 
64 void setEndAngle(double ang);
65 
66 void setAngle(double startAngle,double endAngle);
67 
68 
69 
70 
71 
72 axlSurfaceRevolution& operator =(const axlSurfaceRevolution& other);
73 
74 
75 
76 
77 
78 private:
79 
80 axlSurfaceRevolutionPrivate *d;
81 
82 };
83 
84 
85 
86 //to be registered to the data factory.
87 
88 dtkAbstractData *createaxlSurfaceRevolution(void);
89 
90 
91 
92 #endif
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
Class axlLine defines 3D lines.
Definition: axlLine.h:35
dtkAbstractData * createaxlSurfaceRevolution(void)
#define AXLCORE_EXPORT