Developer documentation | Axl-2.5.1

axlTabulatedCylinder.h
Go to the documentation of this file.
1 /* axlTabulatedCylinder.h
2  * author: Hung NGUYEN Sep, 2014
3  *
4  */
5 
6 #ifndef AXL_TABULATED_CYLINDER_H
7 #define AXL_TABULATED_CYLINDER_H
8 
9 
10 #include "axlCoreExport.h"
11 #include "axlPoint.h"
12 #include "axlAbstractCurve.h"
13 #include "axlAbstractSurface.h"
14 #include <QtCore>
15 
16 /*
17  * This class is implemented for the Tabulated Cylinder. A tabulated cylinder is a surface formed by moving a line segment called the generatrix parallel to
18  * itself along a curve called the directrix. This curve may be a line, circular arc, conic arc, parametric
19  * spline curve, rational B-spline curve, composite curve, or any parametric curve
20  */
21 
22 class axlTabulatedCylinderPrivate;
24 {
25  Q_OBJECT
26 public:
27  axlTabulatedCylinder(QObject *parent = 0);
29 
30  axlAbstractCurve get_directrix() const;
31  axlAbstractCurve *get_pt_directrix() const;
32  axlPoint& get_ref_generatrix() const;
33  axlPoint* get_pt_generatrix();
34 
35  void set_generatrix(const axlPoint& vector);
36  void set_generatrix(axlPoint *vector);
37  void set_directrix(axlAbstractCurve *curve);
38  void set_directrix(const axlAbstractCurve& curve);
39 
40  virtual QString description(void) const;
41  virtual QString identifier(void) const;
42 
43  axlTabulatedCylinder& operator =(const axlTabulatedCylinder& other);
44 
45 private:
46  axlTabulatedCylinderPrivate *d;
47 };
48 
49 dtkAbstractData *createaxlTabulatedCylinder(void);
50 
51 #endif
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
dtkAbstractData * createaxlTabulatedCylinder(void)
#define AXLCORE_EXPORT