Developer documentation | Axl-2.5.1

axlPointSet.h
Go to the documentation of this file.
1 /* axlAbstractCurve.h ---
2  *
3  * Author: Meriadeg Perrinel
4  * Copyright (C) 2008 - Meriadeg Perrinel, Inria.
5  * Created: Tue Nov 9 16:58:59 2010 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Dec 6 15:46:18 2010 (+0100)
8  * By: Meriadeg Perrinel
9  * Update #: 21
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLPOINTSET_H
21 #define AXLPOINTSET_H
22 
23 #include "axlCoreExport.h"
24 #include "axlPoint.h"
25 #include "axlAbstractData.h"
26 
27 class axlPointSetPrivate;
28 
30 {
31  Q_OBJECT
32 
33 public:
34 
35  axlPointSet(void);
36 
38  virtual ~axlPointSet(void);
39 
40  virtual QString description(void) const;
41  virtual QString identifier(void) const;
42 
43  QString objectType(void) const;
44 
45 
46  static bool registered(void);
47 
48  bool isPlanar(void) const;
49  void setPlanar(const bool isPlanar);
50  bool isUniqueColor(void) const;
51  void setUniqueColor(const bool uniqueColor);
52  int numberOfPoints(void) const;
53  void push_front(axlPoint *p);
54  void push_back(axlPoint *p);
55 
56  QDebug printAxlAbstractPoints(QDebug dbg);
57 
58  void printAxlPointSet(void);
59 
60  void *points(void) const;
61  void *points(void);
62 
63  axlPoint *value(int n) const;
64  axlPoint *value(int n);
65 
66 
67 private:
68  axlPointSetPrivate *d;
69 };
70 
71 dtkAbstractData *createaxlPointSet(void);
72 
73 #endif //AXLPOINTSET_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
dtkAbstractData * createaxlPointSet(void)
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.