Class axlAbstractData defines an API for all type of axel data. More...
#include <axlAbstractData.h>
Public Slots | |
void | touchGeometry (void) |
void | touchProperty (void) |
void | touchStructure (void) |
virtual void | touchField (void) |
void | setColor (const QColor &color) |
void | setOpacity (const double &opacity) |
void | setSize (const double &size) |
void | setShader (const QString &shader) |
void | setEditable (bool edit) |
Signals | |
void | modifiedGeometry (void) |
void | modifiedStructure (void) |
void | modifiedField (void) |
void | modifiedProperty (void) |
Public Member Functions | |
axlAbstractData (axlAbstractData *parent=NULL) | |
axlAbstractData (const axlAbstractData &data) | |
virtual | ~axlAbstractData (void) |
const QColor & | color (void) const |
const double & | opacity (void) const |
const double & | size (void) const |
const QString & | shader (void) const |
const bool & | editable (void) |
const bool & | updateView (void) |
void | setColor (double r, double g, double b) |
void | addField (axlAbstractField *field) |
Add a field to the field list of the object. More... | |
bool | updateFieldList (QString nameField) |
Check if a field with the same name is already applied on the object. More... | |
QString | changeFieldName (QString fieldName) |
axlMesh * | mesh (void) |
Return the mesh of that object is computed. More... | |
void | setMesh (axlMesh *mesh) |
Set a corresponding mesh for that object. More... | |
virtual QVariantList | convertDataToQVariant (void) const |
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData. More... | |
virtual int | convertQVariantToData (const QVariantList &data) |
Modify properties and geometry variables of the axlAbstractData. Return 1 if the modification was sucessfully made. Otherwise return 0. More... | |
void | setUpdateView (bool updateView) |
QList< axlAbstractField * > | fields (void) |
Properties | |
QColor | color |
double | opacity |
double | size |
QString | shader |
Class axlAbstractData defines an API for all type of axel data.
Every axel data must inherite from this abstract class.
Definition at line 33 of file axlAbstractData.h.
axlAbstractData::axlAbstractData | ( | axlAbstractData * | parent = NULL | ) |
Definition at line 44 of file axlAbstractData.cpp.
axlAbstractData::axlAbstractData | ( | const axlAbstractData & | data | ) |
Definition at line 54 of file axlAbstractData.cpp.
|
virtual |
Definition at line 66 of file axlAbstractData.cpp.
void axlAbstractData::addField | ( | axlAbstractField * | field | ) |
Add a field to the field list of the object.
Definition at line 160 of file axlAbstractData.cpp.
QString axlAbstractData::changeFieldName | ( | QString | nameField | ) |
Check if a field with the same name is already applied on the object. Modify nameField if it's the case. Field names must be unique!
Definition at line 187 of file axlAbstractData.cpp.
const QColor & axlAbstractData::color | ( | void | ) | const |
Definition at line 72 of file axlAbstractData.cpp.
|
virtual |
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData.
Reimplemented in axlMesh, axlShape, axlAbstractVolumeBSpline, axlPoint, axlEllipsoid, axlAbstractSurfaceBSpline, axlAbstractCurveBSpline, axlCone, axlLine, axlSphere, axlDataDynamic, axlCircleArc, axlCylinder, axlTorus, axlPlane, axlDouble, and axlInteger.
Definition at line 233 of file axlAbstractData.cpp.
|
virtual |
Modify properties and geometry variables of the axlAbstractData. Return 1 if the modification was sucessfully made. Otherwise return 0.
Reimplemented in axlMesh, axlShape, axlAbstractVolumeBSpline, axlPoint, axlEllipsoid, axlAbstractSurfaceBSpline, axlAbstractCurveBSpline, axlDataDynamic, axlCone, axlLine, axlSphere, axlCircleArc, axlCylinder, axlTorus, axlPlane, axlDouble, and axlInteger.
Definition at line 244 of file axlAbstractData.cpp.
const bool & axlAbstractData::editable | ( | void | ) |
Definition at line 122 of file axlAbstractData.cpp.
QList< axlAbstractField * > axlAbstractData::fields | ( | void | ) |
Definition at line 204 of file axlAbstractData.cpp.
axlMesh * axlAbstractData::mesh | ( | void | ) |
Return the mesh of that object is computed.
Definition at line 142 of file axlAbstractData.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
const double & axlAbstractData::opacity | ( | void | ) | const |
Definition at line 87 of file axlAbstractData.cpp.
void axlAbstractData::setColor | ( | double | r, |
double | g, | ||
double | b | ||
) |
Definition at line 82 of file axlAbstractData.cpp.
|
slot |
Definition at line 77 of file axlAbstractData.cpp.
|
slot |
Definition at line 132 of file axlAbstractData.cpp.
void axlAbstractData::setMesh | ( | axlMesh * | mesh | ) |
Set a corresponding mesh for that object.
Definition at line 151 of file axlAbstractData.cpp.
|
slot |
Definition at line 92 of file axlAbstractData.cpp.
|
slot |
Definition at line 127 of file axlAbstractData.cpp.
|
slot |
Definition at line 102 of file axlAbstractData.cpp.
void axlAbstractData::setUpdateView | ( | bool | updateView | ) |
Definition at line 112 of file axlAbstractData.cpp.
const QString & axlAbstractData::shader | ( | void | ) | const |
Definition at line 117 of file axlAbstractData.cpp.
const double & axlAbstractData::size | ( | void | ) | const |
Definition at line 97 of file axlAbstractData.cpp.
|
virtualslot |
Definition at line 209 of file axlAbstractData.cpp.
|
slot |
Definition at line 214 of file axlAbstractData.cpp.
|
slot |
Definition at line 219 of file axlAbstractData.cpp.
|
slot |
Definition at line 224 of file axlAbstractData.cpp.
bool axlAbstractData::updateFieldList | ( | QString | nameField | ) |
Check if a field with the same name is already applied on the object.
Definition at line 171 of file axlAbstractData.cpp.
const bool & axlAbstractData::updateView | ( | void | ) |
Definition at line 107 of file axlAbstractData.cpp.
|
readwrite |
Definition at line 36 of file axlAbstractData.h.
|
readwrite |
Definition at line 37 of file axlAbstractData.h.
|
readwrite |
Definition at line 39 of file axlAbstractData.h.
|
readwrite |
Definition at line 38 of file axlAbstractData.h.