#include <axlTorus.h>
Public Slots | |
| void | onCenterChanged (axlPoint *center) |
| void | onDirectionChanged (axlPoint *direction) |
| void | onRingRadiusChanged (double ringRadius) |
| void | onCrossSectionRadiusChanged (double crossSectionRadius) |
Public Slots inherited from axlAbstractData | |
| 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) |
Public Member Functions | |
| axlTorus (QObject *parent=0) | |
| axlTorus (axlPoint *center, axlPoint *direction, double ringRadius, double crossSectionRadius) | |
| axlTorus (const axlPoint ¢er, const axlPoint &direction, double ringRadius, double crossSectionRadius) | |
| axlTorus (const axlTorus &other) | |
| virtual | ~axlTorus (void) |
| virtual QString | description (void) const |
| virtual QString | identifier (void) const |
| axlPoint * | centerPoint (void) const |
| axlPoint * | direction (void) const |
| double | ringRadius (void) const |
| double | crossSectionRadius (void) const |
| void | setValues (axlPoint *center, axlPoint *direction, double ringRadius, double crossSectionRadius) |
| void | setCenter (axlPoint *center) |
| void | setCenter (double *center) |
| void | setDirection (axlPoint *direction) |
| void | setDirection (double *direction) |
| void | setRingRadius (double ringRadius) |
| void | setCrossSectionRadius (double crossSectionRadius) |
| void | touchCenterPoint (axlPoint center) |
| void | touchDirection (axlPoint direction) |
| void | touchRingRadius (double ringRadius) |
| void | touchCrossSectionRadius (double crossSectionRadius) |
| axlTorus & | operator= (const axlTorus &other) |
| QVariantList | convertDataToQVariant (void) const |
| Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData. More... | |
| 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... | |
Public Member Functions inherited from axlAbstractData | |
| 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... | |
| void | setUpdateView (bool updateView) |
| QList< axlAbstractField * > | fields (void) |
Properties | |
| axlPoint | centerPoint |
| axlPoint | direction |
| double | ringRadius |
| double | crossSectionRadius |
Properties inherited from axlAbstractData | |
| QColor | color |
| double | opacity |
| double | size |
| QString | shader |
Friends | |
| QDebug | operator<< (QDebug dbg, axlTorus torus) |
| QDebug | operator<< (QDebug dbg, axlTorus &torus) |
| QDebug | operator<< (QDebug dbg, axlTorus *torus) |
Additional Inherited Members | |
Signals inherited from axlAbstractData | |
| void | modifiedGeometry (void) |
| void | modifiedStructure (void) |
| void | modifiedField (void) |
| void | modifiedProperty (void) |
Definition at line 28 of file axlTorus.h.
| axlTorus::axlTorus | ( | QObject * | parent = 0 | ) |
Definition at line 39 of file axlTorus.cpp.
| axlTorus::axlTorus | ( | axlPoint * | center, |
| axlPoint * | direction, | ||
| double | ringRadius, | ||
| double | crossSectionRadius | ||
| ) |
Definition at line 51 of file axlTorus.cpp.
| axlTorus::axlTorus | ( | const axlPoint & | center, |
| const axlPoint & | direction, | ||
| double | ringRadius, | ||
| double | crossSectionRadius | ||
| ) |
Definition at line 63 of file axlTorus.cpp.
| axlTorus::axlTorus | ( | const axlTorus & | other | ) |
Definition at line 75 of file axlTorus.cpp.
|
virtual |
Definition at line 87 of file axlTorus.cpp.
| axlPoint * axlTorus::centerPoint | ( | void | ) | const |
Definition at line 113 of file axlTorus.cpp.
|
virtual |
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData.
Reimplemented from axlAbstractData.
Definition at line 234 of file axlTorus.cpp.
|
virtual |
Modify properties and geometry variables of the axlAbstractData. Return 1 if the modification was sucessfully made. Otherwise return 0.
Reimplemented from axlAbstractData.
Definition at line 252 of file axlTorus.cpp.
| double axlTorus::crossSectionRadius | ( | void | ) | const |
Definition at line 125 of file axlTorus.cpp.
|
virtual |
Definition at line 100 of file axlTorus.cpp.
| axlPoint * axlTorus::direction | ( | void | ) | const |
Definition at line 117 of file axlTorus.cpp.
|
virtual |
Definition at line 109 of file axlTorus.cpp.
|
slot |
Definition at line 214 of file axlTorus.cpp.
|
slot |
Definition at line 229 of file axlTorus.cpp.
|
slot |
Definition at line 219 of file axlTorus.cpp.
|
slot |
Definition at line 224 of file axlTorus.cpp.
Definition at line 190 of file axlTorus.cpp.
| double axlTorus::ringRadius | ( | void | ) | const |
Definition at line 121 of file axlTorus.cpp.
| void axlTorus::setCenter | ( | axlPoint * | center | ) |
Definition at line 136 of file axlTorus.cpp.
| void axlTorus::setCenter | ( | double * | center | ) |
Definition at line 152 of file axlTorus.cpp.
| void axlTorus::setCrossSectionRadius | ( | double | crossSectionRadius | ) |
Definition at line 148 of file axlTorus.cpp.
| void axlTorus::setDirection | ( | axlPoint * | direction | ) |
Definition at line 140 of file axlTorus.cpp.
| void axlTorus::setDirection | ( | double * | direction | ) |
Definition at line 159 of file axlTorus.cpp.
| void axlTorus::setRingRadius | ( | double | ringRadius | ) |
Definition at line 144 of file axlTorus.cpp.
| void axlTorus::setValues | ( | axlPoint * | center, |
| axlPoint * | direction, | ||
| double | ringRadius, | ||
| double | crossSectionRadius | ||
| ) |
Definition at line 129 of file axlTorus.cpp.
| void axlTorus::touchCenterPoint | ( | axlPoint | center | ) |
Definition at line 166 of file axlTorus.cpp.
| void axlTorus::touchCrossSectionRadius | ( | double | crossSectionRadius | ) |
Definition at line 184 of file axlTorus.cpp.
| void axlTorus::touchDirection | ( | axlPoint | direction | ) |
Definition at line 172 of file axlTorus.cpp.
| void axlTorus::touchRingRadius | ( | double | ringRadius | ) |
Definition at line 178 of file axlTorus.cpp.
|
friend |
Definition at line 199 of file axlTorus.cpp.
|
friend |
Definition at line 204 of file axlTorus.cpp.
|
friend |
Definition at line 209 of file axlTorus.cpp.
|
readwrite |
Definition at line 30 of file axlTorus.h.
|
readwrite |
Definition at line 32 of file axlTorus.h.
|
readwrite |
Definition at line 30 of file axlTorus.h.
|
readwrite |
Definition at line 31 of file axlTorus.h.