Developer documentation | Axl-2.5.1

axlFieldParametricSurface Class Reference

Class axlFieldParametricSurface defines an API for field which owns a BSpline Surface as a function and a parametric surface on which the field is applied. More...

#include <axlFieldParametricSurface.h>

Inheritance diagram for axlFieldParametricSurface:
axlAbstractFieldParametricSurface axlAbstractFieldParametric axlAbstractField axlAbstractData

Public Slots

virtual void update (void)
 
- Public Slots inherited from axlAbstractFieldParametricSurface
virtual void update (void)
 
- Public Slots inherited from axlAbstractFieldParametric
virtual void update (void)
 
- Public Slots inherited from axlAbstractField
virtual void update (void)
 
- 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

 axlFieldParametricSurface ()
 
virtual ~axlFieldParametricSurface (void)
 Destroys a Bspline field. More...
 
void setFunction (axlAbstractData *data)
 Sets the Bspline function which determines the values of the parametric field. More...
 
axlAbstractDatagetFunction (void)
 Returns the Bspline function which determines the values of the parametric field. More...
 
void setSurface (axlAbstractData *data)
 Sets the BSpline on which the BSpline field is applied. More...
 
double start_u (void)
 Returns the first parameter value of the field. More...
 
double start_v (void)
 Returns the first parameter value of the field. More...
 
double end_u (void)
 Returns the last parameter value of the field. More...
 
double end_v (void)
 Returns the last parameter value of the field. More...
 
double numbersample_u (void)
 Returns the number of parameters. More...
 
double numbersample_v (void)
 Returns the number of parameters. More...
 
int size (void)
 Returns the number of values evaluated for this BSpline field on each samples of the input BSpline. More...
 
virtual double scalar (double u, double v, double w=0)
 Returns the value of the spatial field at the coordinates point entered. More...
 
virtual double * vector (double u, double v, double w=0)
 Returns the value of the spatial field at the coordinates point entered. More...
 
virtual double * tensor (double u, double v, double w=0)
 Returns the value of the spatial field at the coordinates point entered. More...
 
virtual QString description (void) const
 Returns the description of the field. More...
 
virtual QString identifier (void) const
 Returns the identifier of the field "axlFieldParametricSurface". More...
 
- Public Member Functions inherited from axlAbstractFieldParametricSurface
 axlAbstractFieldParametricSurface ()
 
virtual ~axlAbstractFieldParametricSurface (void)
 Destroys a parametric field. More...
 
- Public Member Functions inherited from axlAbstractFieldParametric
 axlAbstractFieldParametric ()
 
virtual ~axlAbstractFieldParametric (void)
 Destroys a parametric field. More...
 
- Public Member Functions inherited from axlAbstractField
 axlAbstractField ()
 
 axlAbstractField (QString name, Type type, Kind kind, Support support)
 
virtual ~axlAbstractField (void)
 Destroys the field. More...
 
virtual void setType (Type type)
 Sets the type of the field which can be either int, float or double. More...
 
virtual void setKind (Kind kind)
 Sets the kind of the field which can be either scalar, vector or tensor. More...
 
virtual void setSupport (Support support)
 
virtual Type type (void)
 
virtual Kind kind (void)
 
virtual Support support (void)
 
virtual void setMin (double mini)
 Sets the minimum value of the field. More...
 
virtual double minValue (void)
 Returns the minimum value of the field. More...
 
virtual void setMax (double maxi)
 Sets the maximum value of the field.. More...
 
virtual double maxValue (void)
 Returns the maximum value of the field. 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)
 
axlMeshmesh (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)
 

Additional Inherited Members

- Public Types inherited from axlAbstractField
enum  Type { Int = 0x001, Float = 0x002, Double = 0x004 }
 
enum  Kind { Scalar = 0x001, Vector = 0x002, Tensor = 0x004 }
 
enum  Support { Point = 0x001, Cell = 0x002, Custom = 0x004 }
 
- Signals inherited from axlAbstractFieldParametricSurface
void updated (void)
 
- Signals inherited from axlAbstractFieldParametric
void updated (void)
 
- Signals inherited from axlAbstractField
void updated (void)
 
- Signals inherited from axlAbstractData
void modifiedGeometry (void)
 
void modifiedStructure (void)
 
void modifiedField (void)
 
void modifiedProperty (void)
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Detailed Description

Class axlFieldParametricSurface defines an API for field which owns a BSpline Surface as a function and a parametric surface on which the field is applied.

Definition at line 23 of file axlFieldParametricSurface.h.

Constructor & Destructor Documentation

axlFieldParametricSurface::axlFieldParametricSurface ( )

Definition at line 46 of file axlFieldParametricSurface.cpp.

axlFieldParametricSurface::~axlFieldParametricSurface ( void  )
virtual

Destroys a Bspline field.

Definition at line 59 of file axlFieldParametricSurface.cpp.

Member Function Documentation

QString axlFieldParametricSurface::description ( void  ) const
virtual

Returns the description of the field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 190 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::end_u ( void  )
virtual

Returns the last parameter value of the field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 298 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::end_v ( void  )
virtual

Returns the last parameter value of the field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 308 of file axlFieldParametricSurface.cpp.

axlAbstractData * axlFieldParametricSurface::getFunction ( void  )
virtual

Returns the Bspline function which determines the values of the parametric field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 260 of file axlFieldParametricSurface.cpp.

QString axlFieldParametricSurface::identifier ( void  ) const
virtual

Returns the identifier of the field "axlFieldParametricSurface".

! Returns the name the field. *! ! Sets the name of the field. *!

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 181 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::numbersample_u ( void  )
virtual

Returns the number of parameters.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 319 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::numbersample_v ( void  )
virtual

Returns the number of parameters.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 328 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::scalar ( double  u,
double  v,
double  w = 0 
)
virtual

Returns the value of the spatial field at the coordinates point entered.

! Sets the type of the field which can be either int, float or double. *! ! Sets the kind of the field which can be either scalar, vector or tensor. *! ! *!

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 117 of file axlFieldParametricSurface.cpp.

void axlFieldParametricSurface::setFunction ( axlAbstractData data)
virtual

Sets the Bspline function which determines the values of the parametric field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 247 of file axlFieldParametricSurface.cpp.

void axlFieldParametricSurface::setSurface ( axlAbstractData data)
virtual

Sets the BSpline on which the BSpline field is applied.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 268 of file axlFieldParametricSurface.cpp.

int axlFieldParametricSurface::size ( void  )
virtual

Returns the number of values evaluated for this BSpline field on each samples of the input BSpline.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 338 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::start_u ( void  )
virtual

Returns the first parameter value of the field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 278 of file axlFieldParametricSurface.cpp.

double axlFieldParametricSurface::start_v ( void  )
virtual

Returns the first parameter value of the field.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 289 of file axlFieldParametricSurface.cpp.

double * axlFieldParametricSurface::tensor ( double  u,
double  v,
double  w = 0 
)
virtual

Returns the value of the spatial field at the coordinates point entered.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 147 of file axlFieldParametricSurface.cpp.

void axlFieldParametricSurface::update ( void  )
virtualslot

Mark the internal data structure as changed to notify underlying pipeline execution.

Definition at line 349 of file axlFieldParametricSurface.cpp.

double * axlFieldParametricSurface::vector ( double  u,
double  v,
double  w = 0 
)
virtual

Returns the value of the spatial field at the coordinates point entered.

Reimplemented from axlAbstractFieldParametricSurface.

Definition at line 133 of file axlFieldParametricSurface.cpp.


The documentation for this class was generated from the following files: