Developer documentation | Axl-2.5.1

axlInspectorObjectManager.h
Go to the documentation of this file.
1 /* axlInspectorObjectManager.h ---
2  *
3  * Author: Julien Wintz
4  * Copyright (C) 2008 - Julien Wintz, Inria.
5  * Created: Mon Mar 14 18:22:02 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Fri Mar 18 10:29:45 2011 (+0100)
8  * By: Julien Wintz
9  * Update #: 32
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLINSPECTOROBJECTMANAGER_H
21 #define AXLINSPECTOROBJECTMANAGER_H
22 
23 #include "axlGuiExport.h"
24 
25 #include <QtWidgets>
26 
27 class axlAbstractField;
28 class axlAbstractData;
29 class axlAbstractView;
30 class dtkAbstractData;
31 class axlDouble;
32 
36 class axlInspectorObjectManagerPrivate;
37 
39 {
40  Q_OBJECT
41 
42 public:
43  axlInspectorObjectManager(QWidget *parent = 0);
45 
47  void removeData(dtkAbstractData *data);
48  void setController(axlInspectorObjectController *controller);
49  void resizeColumnToContents();
50 
51  QList<dtkAbstractData *> dataSet(void);
52  void setView(axlAbstractView *view);
53 
54  void clearScene(void);
55 
56 signals:
57  void inserted(void);
58  void stateChanged(dtkAbstractData *data, int mode);
59  void actorVisibilityChanged(dtkAbstractData *data, bool actorVisibility);
60 
61  void dataChangedByGeometry(dtkAbstractData *data);
62 // void dataChangedByShader(dtkAbstractData *data, QString isophoteShaderXml);
63 // void dataChangedByOpacity(dtkAbstractData *data, double opacity);
64 // void dataChangedBySize(dtkAbstractData *data, double size);
65 
66  void interpolationChanded(dtkAbstractData *data, int interpolation);
67 
68 
69 // void dataChangedByColor(dtkAbstractData *data, double red, double green, double blue);
70 
71  void modifiedProperty(dtkAbstractData *,int);
72  void dataSetRemoved(QList<dtkAbstractData *> dataSetRemoved);
73 
74 signals:
75  void update(void);
76 
77  void showCurrentPoint(double u, double v, dtkAbstractData *data);
78  void moveCurrentPoint(double u, double v, dtkAbstractData *data);
79  void hideCurrentPoint(double u, double v, dtkAbstractData *data);
80 
81 public slots:
82  void onStateChanged(dtkAbstractData *data, int mode);
83  void onDataRemoved(QList<dtkAbstractData *> dataToRemoved);
84  void onFieldListSelectionChanged(void);
85  void onFieldsCreatedOnData(QList<axlAbstractData *> dataList, QString fieldName);
86 // void onDoubleInputInserted(QList<axlDouble *> dataList);
87 // void onDoubleInputListSelectionChanged(void);
88  void onFieldOpened(QList<axlAbstractData *> dataList, QString fieldName);
89 
90  axlAbstractField *onTransmitDataSelected(QListWidgetItem *fromItem,QListWidgetItem *toItem);
91 
92 
93 
94 private slots:
95  void onListSelectionChanged(void);
96 
97 
98 private:
99  axlInspectorObjectManagerPrivate *d;
100 };
101 
102 #endif // AXLINSPECTOROBJECTMANAGER_H
#define AXLGUI_EXPORT
Definition: axlGuiExport2.h:15
Class axlDouble defines a double.
Definition: axlDouble.h:29
Class axlAbstractField defines an API for arrays of numeric data.
Class axlAbstractData defines an API for all type of axel data.