Developer documentation | Axl-2.5.1

axlCurveOnParamSurface.h
Go to the documentation of this file.
1 
49 #ifndef AXLCURVEONPARAMSURFACE_H
50 #define AXLCURVEONPARAMSURFACE_H
51 
52 #include "axlCoreExport.h"
56 
57 class axlCurveOnParamSurfacePrivate;
59 {
60  Q_OBJECT
61 public:
62  axlCurveOnParamSurface(QObject *parent = 0);
64 
65  //get the flag to indicate how the curve was created
66  int get_way_create_curve() const;
67 
68  //set the flag to indicate how the curve was created
69  void set_way_create_curve(int way);
70 
71  int get_way_present_curve() const;
72 
73  void set_way_present_curve(int way);
74 
75  //get the main surface
76  axlAbstractSurfaceParametric& get_main_surface() const;
77 
78  //set the main surface
79  void set_main_surface(axlAbstractSurfaceParametric* surface);
80  /*void set_main_surface(const axlAbstractSurfaceParametric& surface);*/
81 
82 
83  //get the "support" surface
84  axlAbstractSurfaceParametric *get_support_surface() const; // if you are confuse what is support surface, see the top of this file.
85  void set_support_surface(axlAbstractSurfaceParametric *surface);
86 
87  //get the "support" curve
88  axlAbstractCurve& get_support_curve() const;
89  axlAbstractCurve* get_support_curve();
90  void set_support_curve(axlAbstractCurve *curve);
91 
92  //the direction
93  axlPoint& get_direction() const;
94  axlPoint* get_direction();
95  void set_direction(axlPoint* point);
96  void set_direction(const axlPoint& point);
97 
98  //curve on parameter domain
99  axlAbstractCurve& get_support_curve_param_domain() const;
100  axlAbstractCurve* get_support_curve_param_domain();
101  void set_support_curve_param_domain(axlAbstractCurve *curve);
102 
103  //create curve object by the informations we have in this class. This function HAVE TO be used AFTER you set all the necessary informations to create the curve.
104  //and BEFORE you want to get the "result" curve - the curve you want describe by this class.
105  void CreateCurveObject();
106 
107 
108  virtual QString description(void) const;
109  virtual QString identifier(void) const;
110 
111  axlCurveOnParamSurface& operator =(const axlCurveOnParamSurface& other);
112 
113 private:
114  axlCurveOnParamSurfacePrivate *d;
115 };
116 
117 dtkAbstractData *createaxlCurveOnParamSurface(void);
118 
119 #endif //AXLCURVEONPARAMSURFACE_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
dtkAbstractData * createaxlCurveOnParamSurface(void)
Generic interface for parametric curve.
#define AXLCORE_EXPORT