Developer documentation | Axl-2.5.1

axlAbstractFieldParametricVolume Class Reference

Class axlAbstractFieldParametricVolume defines an API for parametric field. More...

#include <axlAbstractFieldParametricVolume.h>

Inheritance diagram for axlAbstractFieldParametricVolume:
axlAbstractFieldParametric axlAbstractField axlAbstractData axlFieldParametricVolume axlFieldParametricVolumeTangentVector

Public Slots

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)
 

Signals

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)
 

Public Member Functions

 axlAbstractFieldParametricVolume ()
 
virtual ~axlAbstractFieldParametricVolume (void)
 Destroys a parametric field. More...
 
virtual void setVolume (axlAbstractData *Volume)
 Sets the support Volume of the field. More...
 
virtual int size (void)
 Returns number of parameters on which the field is evaluated. More...
 
virtual double scalar (double u, double v, double w)
 Returns the value of the parametric field at the parameters values in input. More...
 
virtual double * vector (double u, double v, double w)
 Returns the value of the parametric field evaluated at the parameters in input. More...
 
virtual double * tensor (double u, double v, double w)
 Returns the value of the spatial field at the coordinates point entered. More...
 
virtual double start_u (void)
 Returns the first u-value parameter. More...
 
virtual double start_v (void)
 Returns the first v-value parameter. More...
 
virtual double start_w (void)
 Returns the first w-value parameter. More...
 
virtual double end_u (void)
 Returns the last u-value parameter. More...
 
virtual double end_v (void)
 Returns the last v-value parameter. More...
 
virtual double end_w (void)
 Returns the last w-value parameter. More...
 
virtual double numbersample_u (void)
 Returns the number of u-parameters. More...
 
virtual double numbersample_v (void)
 Returns the number of v-parameters. More...
 
virtual double numbersample_w (void)
 Returns the number of w-parameters. More...
 
virtual void setFunction (axlAbstractData *data)
 Returns the description of the field. More...
 
virtual axlAbstractDatagetFunction (void)
 Returns the description of the field. More...
 
virtual QString description (void) const
 Returns the description of the field. More...
 
virtual QString identifier (void) const
 Returns the description of the 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 }
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Detailed Description

Class axlAbstractFieldParametricVolume defines an API for parametric field.

Definition at line 23 of file axlAbstractFieldParametricVolume.h.

Constructor & Destructor Documentation

axlAbstractFieldParametricVolume::axlAbstractFieldParametricVolume ( )

Definition at line 37 of file axlAbstractFieldParametricVolume.cpp.

axlAbstractFieldParametricVolume::~axlAbstractFieldParametricVolume ( void  )
virtual

Destroys a parametric field.

Definition at line 47 of file axlAbstractFieldParametricVolume.cpp.

Member Function Documentation

QString axlAbstractFieldParametricVolume::description ( void  ) const
virtual

Returns the description of the field.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 237 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::end_u ( void  )
virtual

Returns the last u-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 151 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::end_v ( void  )
virtual

Returns the last v-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 162 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::end_w ( void  )
virtual

Returns the last w-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 173 of file axlAbstractFieldParametricVolume.cpp.

axlAbstractData * axlAbstractFieldParametricVolume::getFunction ( void  )
virtual

Returns the description of the field.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume.

Definition at line 228 of file axlAbstractFieldParametricVolume.cpp.

QString axlAbstractFieldParametricVolume::identifier ( void  ) const
virtual

Returns the description of the field.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 250 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::numbersample_u ( void  )
virtual

Returns the number of u-parameters.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 184 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::numbersample_v ( void  )
virtual

Returns the number of v-parameters.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 195 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::numbersample_w ( void  )
virtual

Returns the number of w-parameters.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 206 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::scalar ( double  u,
double  v,
double  w 
)
virtual

Returns the value of the parametric field at the parameters values in input.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume.

Definition at line 77 of file axlAbstractFieldParametricVolume.cpp.

void axlAbstractFieldParametricVolume::setFunction ( axlAbstractData data)
virtual

Returns the description of the field.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume.

Definition at line 218 of file axlAbstractFieldParametricVolume.cpp.

void axlAbstractFieldParametricVolume::setVolume ( axlAbstractData Volume)
virtual

Sets the support Volume of the field.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 59 of file axlAbstractFieldParametricVolume.cpp.

int axlAbstractFieldParametricVolume::size ( void  )
virtual

Returns number of parameters on which the field is evaluated.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 68 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::start_u ( void  )
virtual

Returns the first u-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 118 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::start_v ( void  )
virtual

Returns the first v-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 129 of file axlAbstractFieldParametricVolume.cpp.

double axlAbstractFieldParametricVolume::start_w ( void  )
virtual

Returns the first w-value parameter.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 140 of file axlAbstractFieldParametricVolume.cpp.

double * axlAbstractFieldParametricVolume::tensor ( double  u,
double  v,
double  w 
)
virtual

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

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume.

Definition at line 103 of file axlAbstractFieldParametricVolume.cpp.

void axlAbstractFieldParametricVolume::update ( void  )
virtualslot

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

Definition at line 262 of file axlAbstractFieldParametricVolume.cpp.

void axlAbstractFieldParametricVolume::updated ( void  )
signal
double * axlAbstractFieldParametricVolume::vector ( double  u,
double  v,
double  w 
)
virtual

Returns the value of the parametric field evaluated at the parameters in input.

Reimplemented from axlAbstractFieldParametric.

Reimplemented in axlFieldParametricVolume, and axlFieldParametricVolumeTangentVector.

Definition at line 90 of file axlAbstractFieldParametricVolume.cpp.


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