#include <axlAbstractCurveBSpline.h>
Public Types | |
typedef QMap< double, axlPoint > | Sample |
Signals | |
void | updated (void) |
void | samplingChanged () |
void | indexSelected (int) |
Signals inherited from axlAbstractData | |
void | modifiedGeometry (void) |
void | modifiedStructure (void) |
void | modifiedField (void) |
void | modifiedProperty (void) |
Public Member Functions | |
axlAbstractCurveBSpline (void) | |
virtual | ~axlAbstractCurveBSpline (void) |
virtual int | countControlPoints (void) const |
virtual int | knotVectorSize (void) const |
virtual int | order (void) const |
virtual int | numCoefs () const |
virtual bool | rational (void) const |
virtual double | startParam (void) |
virtual double | endParam (void) |
virtual void | setCurve (int pointsCount, int order, int dimension, double *knots, double *points, bool rational) |
virtual axlPoint | closestPoint (const axlPoint &pt) |
virtual double | closestParameter (const axlPoint &pt) |
virtual Sample | sampling (int n) |
virtual void | insertKnot (double k) |
virtual void | removeKnot (double k) |
virtual axlPoint | getCoef (int n) const |
virtual bool | setCoef (int n, double *controlPoint) |
virtual double | getKnot (int n) const |
virtual QString | printCoeffs (bool print) const |
virtual QString | printKnotsVector (bool print) const |
virtual double | getWeight (int n) const |
virtual void | updateRcoeff () |
virtual QString | description (void) const |
virtual bool | connectionsAreDefined (void) |
Return true if control points connections were defined by developers. False if there are default connections visualization. More... | |
virtual QList< int > | getControlPointConnection (int i) |
The list returned contains all indices of coefficients that are still to be connected to the ith coefficient. More... | |
virtual void | defineControlPointConnection (int i, int j) |
Define connection between the ith and the jth coefficient. More... | |
virtual void | resetControlPointConnections (void) |
Removes all control point connections. More... | |
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... | |
virtual void | selectIndex (int i) |
Public Member Functions inherited from axlAbstractCurveParametric | |
axlAbstractCurveParametric (void) | |
virtual | ~axlAbstractCurveParametric (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) |
Additional Inherited Members | |
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) |
Properties inherited from axlAbstractCurveParametric | |
int | samples |
Properties inherited from axlAbstractData | |
QColor | color |
double | opacity |
double | size |
QString | shader |
Definition at line 30 of file axlAbstractCurveBSpline.h.
typedef QMap<double, axlPoint> axlAbstractCurveBSpline::Sample |
Definition at line 36 of file axlAbstractCurveBSpline.h.
axlAbstractCurveBSpline::axlAbstractCurveBSpline | ( | void | ) |
Definition at line 37 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 42 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 110 of file axlAbstractCurveBSpline.cpp.
Definition at line 103 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Return true if control points connections were defined by developers. False if there are default connections visualization.
Definition at line 195 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData.
Reimplemented from axlAbstractData.
Definition at line 243 of file axlAbstractCurveBSpline.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 265 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 49 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Define connection between the ith and the jth coefficient.
Definition at line 221 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 184 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Reimplemented from axlAbstractCurveParametric.
Definition at line 91 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 125 of file axlAbstractCurveBSpline.cpp.
|
virtual |
The list returned contains all indices of coefficients that are still to be connected to the ith coefficient.
Definition at line 212 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 153 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 140 of file axlAbstractCurveBSpline.cpp.
|
signal |
|
virtual |
Definition at line 160 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 56 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 70 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 63 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 170 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 177 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 78 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 165 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Removes all control point connections.
Definition at line 203 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 118 of file axlAbstractCurveBSpline.cpp.
|
signal |
|
inlinevirtual |
Definition at line 87 of file axlAbstractCurveBSpline.h.
|
virtual |
Definition at line 132 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Definition at line 98 of file axlAbstractCurveBSpline.cpp.
|
virtual |
Reimplemented from axlAbstractCurveParametric.
Definition at line 84 of file axlAbstractCurveBSpline.cpp.
|
signal |
|
virtual |
Definition at line 148 of file axlAbstractCurveBSpline.cpp.