Developer documentation | Axl-2.5.1

axlCylinderParametric.h
Go to the documentation of this file.
1 /* axlCylinderParametric.h ---
2  *
3  * Author: Valentin Michelet
4  * Copyright (C) 2008-2013 - Valentin Michelet, Inria.
5  * Created: Fri Jul 26 16:58:59 2013 (+0100)
6  */
7 
8 /* Commentary:
9  *
10  */
11 
12 /* Change log:
13  *
14  */
15 
16 #ifndef AXLCYLINDERPARAMETRIC_H
17 #define AXLCYLINDERPARAMETRIC_H
18 
19 #include "axlCoreExport.h"
21 
22 #include <QtCore>
23 
24 class axlPoint;
25 class axlCylinder;
26 class axlCylinderParametricPrivate;
27 
29  Q_OBJECT
30 
31 public:
34  axlCylinderParametric(const axlCylinder& cylinder, const axlPoint& r);
36  virtual ~axlCylinderParametric(void);
37 
38  virtual QString description(void) const;
39  virtual QString identifier(void) const;
40 
41  void setCylinder(axlCylinder* cylinder);
42  axlPoint* getR(void) const;
43  void setR(axlPoint* r);
44 
45  axlCylinderParametric& operator=(const axlCylinderParametric& other);
46 
47  void modifyR(double* r);
48 
49  axlCylinder* getCylinder(void) const;
50  void setCylinder(const axlCylinder& cylinder);
51 
52  virtual axlPoint eval(double u, double v);
53  virtual void eval(axlPoint *point, double u,double v);
54  virtual void eval(double& x, double& y, double& z, double u,double v);
55 
56 // virtual void normal(axlPoint *normal, double, double);
57 
58  virtual void parameterOf(const axlPoint& point, double& um, double& vm);
59 
60 public slots:
61  void onCylinderChanged(axlCylinder* cylinder);
62  void onRChanged(axlPoint* r);
63 
64 private:
65  axlCylinderParametricPrivate* d;
66 };
67 
68 #endif // AXLCYLINDERPARAMETRIC_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
Class axlCylinder defines 3D cylinders.
Definition: axlCylinder.h:33
virtual axlPoint eval(double u, double v)
virtual void parameterOf(const axlPoint &point, double &um, double &vm)
#define AXLCORE_EXPORT