#include <axlCircleArc.h>
Public Slots | |
void | onPoint1XChanged (double x) |
void | onPoint1YChanged (double y) |
void | onPoint1ZChanged (double z) |
void | onPoint2XChanged (double x) |
void | onPoint2YChanged (double y) |
void | onPoint2ZChanged (double z) |
void | onCenterXChanged (double x) |
void | onCenterYChanged (double y) |
void | onCenterZChanged (double z) |
void | onNormalXChanged (double x) |
void | onNormalYChanged (double y) |
void | onNormalZChanged (double z) |
virtual void | onDirectChanged (bool direct) |
Public Slots inherited from axlAbstractCurveParametric | |
virtual void | onDirectChanged (bool direct) |
void | setSamples (const int &color) |
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 | |
axlCircleArc (QObject *parent=0) | |
axlCircleArc (const axlPoint &point1, const axlPoint &point2, const axlPoint ¢er, const axlPoint &normal, bool direct=true) | |
axlCircleArc (const axlCircleArc &other) | |
virtual | ~axlCircleArc (void) |
virtual QString | description (void) const |
virtual QString | identifier (void) const |
double | calculateRadius (void) const |
axlPoint | calculateNormal (void) const |
axlPoint | point1 (void) const |
axlPoint | point2 (void) const |
axlPoint | center (void) const |
axlPoint | normal (void) const |
bool | isDirect (void) const |
void | setValues (const axlPoint &point1, const axlPoint &point2, const axlPoint ¢er, const axlPoint &normal, bool direct=true) |
void | setPoint1 (const axlPoint &point1) |
void | setPoint2 (const axlPoint &point2) |
void | setNormal (const axlPoint &normal) |
void | setCenter (const axlPoint ¢er) |
void | setDirect (bool direct) |
void | modifyPoint1 (double *point1) |
void | modifyPoint2 (double *point2) |
void | modifyNormal (double *normal) |
void | modifyCenter (double *center) |
axlCircleArc & | operator= (const axlCircleArc &other) |
void | applyMatrix (double *matrix) |
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 axlAbstractCurveParametric | |
axlAbstractCurveParametric (void) | |
virtual | ~axlAbstractCurveParametric (void) |
virtual double | startParam (void) |
virtual double | endParam (void) |
virtual axlPoint | eval (double u) |
virtual void | eval (axlPoint *point, double u) |
virtual axlMesh | eval (double u, int derivs, bool from_right=true) |
double | parameterOf (const axlPoint &p) |
virtual double | length (double tolerance) |
virtual int | numSamples (void) |
virtual void | setNumSamples (int numSamples) |
const int & | samples (void) const |
Public Member Functions inherited from axlAbstractCurve | |
axlAbstractCurve (void) | |
virtual | ~axlAbstractCurve (void) |
virtual int | dimension (void) const |
virtual bool | isPlanar (void) const |
virtual void * | curve (void) |
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) |
Friends | |
QDebug | operator<< (QDebug dbg, axlCircleArc arc) |
QDebug | operator<< (QDebug dbg, axlCircleArc &arc) |
QDebug | operator<< (QDebug dbg, axlCircleArc *arc) |
Additional Inherited Members | |
Signals inherited from axlAbstractData | |
void | modifiedGeometry (void) |
void | modifiedStructure (void) |
void | modifiedField (void) |
void | modifiedProperty (void) |
Properties inherited from axlAbstractCurveParametric | |
int | samples |
Properties inherited from axlAbstractData | |
QColor | color |
double | opacity |
double | size |
QString | shader |
Definition at line 32 of file axlCircleArc.h.
axlCircleArc::axlCircleArc | ( | QObject * | parent = 0 | ) |
Definition at line 45 of file axlCircleArc.cpp.
axlCircleArc::axlCircleArc | ( | const axlPoint & | point1, |
const axlPoint & | point2, | ||
const axlPoint & | center, | ||
const axlPoint & | normal, | ||
bool | direct = true |
||
) |
Definition at line 59 of file axlCircleArc.cpp.
axlCircleArc::axlCircleArc | ( | const axlCircleArc & | other | ) |
Definition at line 75 of file axlCircleArc.cpp.
|
virtual |
Definition at line 89 of file axlCircleArc.cpp.
void axlCircleArc::applyMatrix | ( | double * | matrix | ) |
Definition at line 222 of file axlCircleArc.cpp.
axlPoint axlCircleArc::calculateNormal | ( | void | ) | const |
Definition at line 113 of file axlCircleArc.cpp.
double axlCircleArc::calculateRadius | ( | void | ) | const |
Definition at line 109 of file axlCircleArc.cpp.
axlPoint axlCircleArc::center | ( | void | ) | const |
Definition at line 132 of file axlCircleArc.cpp.
|
virtual |
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData.
Reimplemented from axlAbstractData.
Definition at line 284 of file axlCircleArc.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 304 of file axlCircleArc.cpp.
|
virtual |
Definition at line 94 of file axlCircleArc.cpp.
|
virtual |
Definition at line 105 of file axlCircleArc.cpp.
bool axlCircleArc::isDirect | ( | void | ) | const |
Definition at line 136 of file axlCircleArc.cpp.
void axlCircleArc::modifyCenter | ( | double * | center | ) |
Definition at line 184 of file axlCircleArc.cpp.
void axlCircleArc::modifyNormal | ( | double * | normal | ) |
Definition at line 190 of file axlCircleArc.cpp.
void axlCircleArc::modifyPoint1 | ( | double * | point1 | ) |
Definition at line 172 of file axlCircleArc.cpp.
void axlCircleArc::modifyPoint2 | ( | double * | point2 | ) |
Definition at line 178 of file axlCircleArc.cpp.
axlPoint axlCircleArc::normal | ( | void | ) | const |
Definition at line 128 of file axlCircleArc.cpp.
|
slot |
Definition at line 253 of file axlCircleArc.cpp.
|
slot |
Definition at line 257 of file axlCircleArc.cpp.
|
slot |
Definition at line 261 of file axlCircleArc.cpp.
|
virtualslot |
Definition at line 277 of file axlCircleArc.cpp.
|
slot |
Definition at line 265 of file axlCircleArc.cpp.
|
slot |
Definition at line 269 of file axlCircleArc.cpp.
|
slot |
Definition at line 273 of file axlCircleArc.cpp.
|
slot |
Definition at line 229 of file axlCircleArc.cpp.
|
slot |
Definition at line 233 of file axlCircleArc.cpp.
|
slot |
Definition at line 237 of file axlCircleArc.cpp.
|
slot |
Definition at line 241 of file axlCircleArc.cpp.
|
slot |
Definition at line 245 of file axlCircleArc.cpp.
|
slot |
Definition at line 249 of file axlCircleArc.cpp.
axlCircleArc & axlCircleArc::operator= | ( | const axlCircleArc & | other | ) |
Definition at line 196 of file axlCircleArc.cpp.
axlPoint axlCircleArc::point1 | ( | void | ) | const |
Definition at line 120 of file axlCircleArc.cpp.
axlPoint axlCircleArc::point2 | ( | void | ) | const |
Definition at line 124 of file axlCircleArc.cpp.
void axlCircleArc::setCenter | ( | const axlPoint & | center | ) |
Definition at line 160 of file axlCircleArc.cpp.
void axlCircleArc::setDirect | ( | bool | direct | ) |
Definition at line 168 of file axlCircleArc.cpp.
void axlCircleArc::setNormal | ( | const axlPoint & | normal | ) |
Definition at line 164 of file axlCircleArc.cpp.
void axlCircleArc::setPoint1 | ( | const axlPoint & | point1 | ) |
Definition at line 152 of file axlCircleArc.cpp.
void axlCircleArc::setPoint2 | ( | const axlPoint & | point2 | ) |
Definition at line 156 of file axlCircleArc.cpp.
void axlCircleArc::setValues | ( | const axlPoint & | point1, |
const axlPoint & | point2, | ||
const axlPoint & | center, | ||
const axlPoint & | normal, | ||
bool | direct = true |
||
) |
Definition at line 140 of file axlCircleArc.cpp.
|
friend |
Definition at line 207 of file axlCircleArc.cpp.
|
friend |
Definition at line 212 of file axlCircleArc.cpp.
|
friend |
Definition at line 217 of file axlCircleArc.cpp.