20 #ifndef AXLABSTRACTDATA_H
21 #define AXLABSTRACTDATA_H
23 #include "axlCoreExport.h"
25 #include <dtkCoreSupport/dtkAbstractData.h>
29 class axlAbstractDataPrivate;
36 Q_PROPERTY(QColor color READ color WRITE setColor )
37 Q_PROPERTY(
double opacity READ opacity WRITE setOpacity )
38 Q_PROPERTY(
double size READ size WRITE setSize )
39 Q_PROPERTY(QString shader READ shader WRITE setShader )
47 void modifiedGeometry(
void);
48 void modifiedStructure(
void);
49 void modifiedField(
void);
50 void modifiedProperty(
void);
53 void touchGeometry(
void);
54 void touchProperty(
void);
55 void touchStructure(
void);
56 virtual
void touchField(
void);
59 const QColor& color(
void) const;
60 const
double& opacity(
void) const;
61 const
double& size(
void) const;
62 const QString& shader(
void) const;
63 const
bool &editable(
void);
64 const
bool& updateView(
void);
66 void setColor(
double r,
double g,
double b);
69 void setColor(const QColor& color);
70 void setOpacity(const
double& opacity);
71 void setSize(const
double& size);
72 void setShader(const QString& shader);
73 void setEditable(
bool edit);
77 bool updateFieldList(QString nameField);
78 QString changeFieldName(QString fieldName);
81 virtual QVariantList convertDataToQVariant(
void) const;
82 virtual
int convertQVariantToData(const QVariantList &data);
83 void setUpdateView(
bool updateView);
89 axlAbstractDataPrivate *d;
Q_DECLARE_METATYPE(axlAbstractData)
Class axlAbstractField defines an API for arrays of numeric data.
Class axlAbstractData defines an API for all type of axel data.
Class axlMesh defines a piecewise-linear 3D object.