Developer documentation | Axl-2.5.1

axlShapeBSplineConverter.h
Go to the documentation of this file.
1 #ifndef axlShapeBSplineConverter_H
2 #define axlShapeBSplineConverter_H
3 
4 #include "axlCoreExport.h"
6 
7 class AXLCORE_EXPORT axlShapeBSplineConverterPrivate;
8 
10 {
11  Q_OBJECT
12 
13 public:
16 
17  QString description (void) const;
18  QStringList fromTypes(void) const;
19  QString toType (void) const;
20 
21 public:
22  void setData(dtkAbstractData *data);
23  dtkAbstractData *data(void) const;
24 
25  QList<QString> getLabels(int i);
26 
27 public:
28  static bool registered(void);
29 
30 public slots:
31  axlMesh *toMesh(void);
32 
33 private :
34  axlShapeBSplineConverterPrivate *d;
35 
36 private :
37  bool isContained(axlMesh *mesh);
38 
39 private :
40  int isInterior(int i, int n_u, int n_v);
41  QPair<int,int > whatEdge(int numFace,int i, int n_u, int n_v);
42 
43  void insertEdge(axlMesh *mesh,int numEdge);
44  void insertFace(axlMesh *mesh,int numFace);
45 
46  void createNewInteriorEdge(void);
47 
48 };
49 
50 dtkAbstractDataConverter *createaxlShapeBSplineConverter(void);
51 
52 #endif // axlShapeBSplineConverter_H
53 
#define AXLCORE_EXPORT
virtual axlMesh * toMesh(void)
Mesh conversion.
dtkAbstractDataConverter * createaxlShapeBSplineConverter(void)
Class axlMesh defines a piecewise-linear 3D object.
Definition: axlMesh.h:41