Generic interface for parametric curve. More...
#include <axlAbstractCurveParametric.h>
Public Slots | |
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 | |
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... | |
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 | |
int | samples |
Properties inherited from axlAbstractData | |
QColor | color |
double | opacity |
double | size |
QString | shader |
Additional Inherited Members | |
Signals inherited from axlAbstractData | |
void | modifiedGeometry (void) |
void | modifiedStructure (void) |
void | modifiedField (void) |
void | modifiedProperty (void) |
Generic interface for parametric curve.
Definition at line 36 of file axlAbstractCurveParametric.h.
axlAbstractCurveParametric::axlAbstractCurveParametric | ( | void | ) |
Definition at line 37 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 43 of file axlAbstractCurveParametric.cpp.
|
virtual |
Reimplemented in axlAbstractCurveBSpline.
Definition at line 56 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 62 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 90 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 81 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 125 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 132 of file axlAbstractCurveParametric.cpp.
|
virtualslot |
Definition at line 149 of file axlAbstractCurveParametric.cpp.
double axlAbstractCurveParametric::parameterOf | ( | const axlPoint & | p | ) |
Definition at line 98 of file axlAbstractCurveParametric.cpp.
const int & axlAbstractCurveParametric::samples | ( | void | ) | const |
Definition at line 144 of file axlAbstractCurveParametric.cpp.
|
virtual |
Definition at line 139 of file axlAbstractCurveParametric.cpp.
|
slot |
Definition at line 153 of file axlAbstractCurveParametric.cpp.
|
virtual |
Reimplemented in axlAbstractCurveBSpline.
Definition at line 50 of file axlAbstractCurveParametric.cpp.
|
readwrite |
Definition at line 39 of file axlAbstractCurveParametric.h.