Class axlSurfaceParametricOffset defines offset of axlAbstractSurfaceParametric. More...
#include <axlSurfaceParametricOffset.h>
Public Member Functions | |
axlSurfaceParametricOffset (axlAbstractSurfaceParametric *surfaceParam, double offset=0.0) | |
Constructs a axlSurfaceParametricOffset with an axlAbstractSurfaceParametric and a distance offset. More... | |
axlSurfaceParametricOffset (const axlSurfaceParametricOffset &other) | |
Constructs a copy of other. More... | |
virtual | ~axlSurfaceParametricOffset (void) |
double | offset (void) |
Return offset of this axlSurfaceParametricOffset. More... | |
void | setOffset (double offset) |
Set the offset of this axlSurfaceParametricOffset. More... | |
axlAbstractSurfaceParametric * | surfaceParam (void) |
Return the pointer on the axlAbstractSurfaceParametric of this axlSurfaceParametricOffset. More... | |
axlSurfaceParametricOffset & | operator= (const axlSurfaceParametricOffset &other) |
Assigns other to this axlSurfaceParametricOffset and returns a reference to this axlSurfaceParametricOffset. More... | |
virtual QString | description (void) const |
virtual QString | identifier (void) const |
Public Member Functions inherited from axlAbstractSurfaceParametric | |
axlAbstractSurfaceParametric (void) | |
virtual | ~axlAbstractSurfaceParametric (void) |
virtual axlPoint | eval (double u, double v) |
virtual void | eval (axlPoint *point, double u, double v) |
virtual void | eval (double &, double &, double &, double u, double v) |
virtual void | normal (axlPoint *normal, double u, double v) |
virtual axlMesh | eval (double u, double v, int derivs, bool u_from_right=true, bool v_from_right=true, double resolution=1.0e-12) |
virtual dtkDeprecated::dtkVector3D< double > | eval2 (double u, double v) |
virtual void | parameterOf (const axlPoint &point, double &um, double &vm) |
virtual dtkDeprecated::dtkVector3D< double > | normal (double u, double v) |
virtual void | normal (dtkDeprecated::dtkVector3D< double > *normal, double u, double v) |
virtual double | area (double tol) |
virtual int | numSamples_u (void) |
virtual int | numSamples_v (void) |
virtual double | startParam_u (void) |
virtual double | endParam_u (void) |
virtual double | startParam_v (void) |
virtual double | endParam_v (void) |
virtual double | startParam_u (int numCell) |
virtual double | endParam_u (int numCell) |
virtual double | startParam_v (int numCell) |
virtual double | endParam_v (int numCell) |
virtual void | eval (axlPoint *point, double u, double v, int numCell) |
virtual void | normal (axlPoint *normal, double u, double v, int numCell) |
virtual bool | hasCells (void) |
virtual int | countCells (void) |
virtual int | numSamples_u (int numCell) |
virtual int | numSamples_v (int numCell) |
virtual int | stripes (void) |
virtual void | setStripes (int stripes) |
virtual void | setNumSamples_u (int numSamples) |
virtual void | setNumSamples_v (int numSamples) |
const int & | samples_u (void) const |
const int & | samples_v (void) const |
Public Member Functions inherited from axlAbstractSurface | |
axlAbstractSurface (void) | |
virtual | ~axlAbstractSurface (void) |
virtual int | dimension (void) const |
virtual axlMesh * | toAxlMesh (void) |
virtual void * | surface (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) |
Friends | |
QDebug | operator<< (QDebug dbg, axlSurfaceParametricOffset sphere) |
QDebug | operator<< (QDebug dbg, axlSurfaceParametricOffset &sphere) |
QDebug | operator<< (QDebug dbg, axlSurfaceParametricOffset *sphere) |
Additional Inherited Members | |
Public Slots inherited from axlAbstractSurfaceParametric | |
void | setSamples_u (const int &color) |
void | setSamples_v (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) |
Signals inherited from axlAbstractData | |
void | modifiedGeometry (void) |
void | modifiedStructure (void) |
void | modifiedField (void) |
void | modifiedProperty (void) |
Properties inherited from axlAbstractSurfaceParametric | |
int | samples_u |
int | samples_v |
Properties inherited from axlAbstractData | |
QColor | color |
double | opacity |
double | size |
QString | shader |
Class axlSurfaceParametricOffset defines offset of axlAbstractSurfaceParametric.
This class enables to represent and manipulate axlSurfaceParametricOffset.
Example:
Definition at line 30 of file axlSurfaceParametricOffset.h.
axlSurfaceParametricOffset::axlSurfaceParametricOffset | ( | axlAbstractSurfaceParametric * | surfaceParam, |
double | offset = 0.0 |
||
) |
Constructs a axlSurfaceParametricOffset with an axlAbstractSurfaceParametric and a distance offset.
Definition at line 35 of file axlSurfaceParametricOffset.cpp.
axlSurfaceParametricOffset::axlSurfaceParametricOffset | ( | const axlSurfaceParametricOffset & | other | ) |
Constructs a copy of other.
Definition at line 48 of file axlSurfaceParametricOffset.cpp.
|
virtual |
Definition at line 57 of file axlSurfaceParametricOffset.cpp.
|
virtual |
Definition at line 131 of file axlSurfaceParametricOffset.cpp.
|
virtual |
Definition at line 138 of file axlSurfaceParametricOffset.cpp.
double axlSurfaceParametricOffset::offset | ( | void | ) |
Return offset of this axlSurfaceParametricOffset.
Definition at line 82 of file axlSurfaceParametricOffset.cpp.
axlSurfaceParametricOffset & axlSurfaceParametricOffset::operator= | ( | const axlSurfaceParametricOffset & | other | ) |
Assigns other to this axlSurfaceParametricOffset and returns a reference to this axlSurfaceParametricOffset.
Definition at line 68 of file axlSurfaceParametricOffset.cpp.
void axlSurfaceParametricOffset::setOffset | ( | double | offset | ) |
Set the offset of this axlSurfaceParametricOffset.
Definition at line 91 of file axlSurfaceParametricOffset.cpp.
axlAbstractSurfaceParametric * axlSurfaceParametricOffset::surfaceParam | ( | void | ) |
Return the pointer on the axlAbstractSurfaceParametric of this axlSurfaceParametricOffset.
Definition at line 100 of file axlSurfaceParametricOffset.cpp.
|
friend |
Definition at line 110 of file axlSurfaceParametricOffset.cpp.
|
friend |
Definition at line 117 of file axlSurfaceParametricOffset.cpp.
|
friend |
Definition at line 124 of file axlSurfaceParametricOffset.cpp.