Developer documentation | Axl-2.5.1

axlAbstractVolumeBSpline Class Reference

#include <axlAbstractVolumeBSpline.h>

Inheritance diagram for axlAbstractVolumeBSpline:
axlAbstractVolumeParametric axlAbstractVolume axlAbstractData axlAbstractVolumeNurbs

Signals

void updated (void)
 
void samplingChanged (void)
 
void indexSelected (int)
 
- Signals inherited from axlAbstractData
void modifiedGeometry (void)
 
void modifiedStructure (void)
 
void modifiedField (void)
 
void modifiedProperty (void)
 

Public Member Functions

 axlAbstractVolumeBSpline (void)
 
virtual ~axlAbstractVolumeBSpline (void)
 
virtual axlAbstractVolumeBSplinecopy (void) const
 
virtual int countControlPoints (void) const
 
virtual int countControlPoints_u (void) const
 
virtual int countControlPoints_v (void) const
 
virtual int countControlPoints_w (void) const
 
virtual int knotVectorSize_u (void) const
 
virtual int knotVectorSize_v (void) const
 
virtual int knotVectorSize_w (void) const
 
virtual int order_u (void) const
 
virtual int order_v (void) const
 
virtual int order_w (void) const
 
virtual double getCoord (int n, int m, int k, int v) const
 
virtual axlPoint getCoef (int n, int m, int k) const
 
virtual axlPoint getCoef (int n) const
 
virtual double getWeight (int n, int m, int k) const
 
virtual bool setCoef (int n, int m, int k, int v, double c)
 
virtual bool setCoef (int n, int m, int k, double *controlPoint)
 
virtual bool setCoef (int n, double *controlPoint)
 
virtual double getKnot_u (int n) const
 
virtual double getKnot_v (int n) const
 
virtual double getKnot_w (int n) const
 
virtual void setVolume (int pointsCount_u, int pointsCount_v, int pointsCount_w, int order_u, int order_v, int order_w, int dimension, double *knots_u, double *knots_v, double *knots_w, double *points, bool rational)
 
virtual void insertKnot_u (double k)
 
virtual void removeKnot_u (double k)
 
virtual void insertKnot_v (double k)
 
virtual void removeKnot_v (double k)
 
virtual void insertKnot_w (double k)
 
virtual void removeKnot_w (double k)
 
virtual bool rational (void) const
 
virtual QVector< axlPoint * > sampling ()
 
virtual void gridEvaluator (int num_u, int num_v, int num_w, std::vector< double > &points, std::vector< double > &param_u, std::vector< double > &param_v, std::vector< double > &param_w)
 
virtual QString printCoeffs (bool print) const
 
virtual QString printKnotsVector (bool print) const
 
virtual QString description (void) const
 
virtual void updateRcoeff ()
 
double scalarValue (double u, double v, double w)
 
void setScalarValue (double u, double v, double w, double value)
 
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 axlAbstractVolumeParametric
 axlAbstractVolumeParametric (void)
 
virtual ~axlAbstractVolumeParametric (void)
 
virtual axlPoint eval (double u, double v, double w)
 
virtual void eval (axlPoint *point, double u, double v, double w)
 
virtual void eval (double &, double &, double &, double u, double v, double w)
 
virtual void normal (axlPoint *normal, double u, double v, double w)
 
virtual axlMesh eval (double u, double v, double w, int derivs, bool u_from_right=true, bool v_from_right=true, bool w_from_right=true, double resolution=1.0e-12)
 
virtual dtkDeprecated::dtkVector3D< double > eval2 (double u, double v, double w)
 
virtual dtkDeprecated::dtkVector3D< double > normal (double u, double v, double w)
 
virtual void normal (dtkDeprecated::dtkVector3D< double > *normal, double u, double v, double w)
 
virtual int numSamples_u (void)
 
virtual int numSamples_v (void)
 
virtual int numSamples_w (void)
 
virtual double startParam_u (void)
 
virtual double endParam_u (void)
 
virtual double startParam_v (void)
 
virtual double endParam_v (void)
 
virtual double startParam_w (void)
 
virtual double endParam_w (void)
 
virtual int stripes (void)
 
virtual void setStripes (int stripes)
 
virtual void setNumSamples_u (int numSamples)
 
virtual void setNumSamples_v (int numSamples)
 
virtual void setNumSamples_w (int numSamples)
 
const int & samples_u (void) const
 
const int & samples_v (void) const
 
const int & samples_w (void) const
 
- Public Member Functions inherited from axlAbstractVolume
 axlAbstractVolume (void)
 
virtual ~axlAbstractVolume (void)
 
virtual int dimension (void) const
 
virtual axlMeshtoAxlMesh (void)
 
virtual void * volume (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)
 
axlMeshmesh (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 axlAbstractVolumeParametric
void setSamples_u (const int &color)
 
void setSamples_v (const int &color)
 
void setSamples_w (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 axlAbstractVolumeParametric
int samples_u
 
int samples_v
 
int samples_w
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Detailed Description

Definition at line 30 of file axlAbstractVolumeBSpline.h.

Constructor & Destructor Documentation

axlAbstractVolumeBSpline::axlAbstractVolumeBSpline ( void  )

Definition at line 34 of file axlAbstractVolumeBSpline.cpp.

axlAbstractVolumeBSpline::~axlAbstractVolumeBSpline ( void  )
virtual

Definition at line 39 of file axlAbstractVolumeBSpline.cpp.

Member Function Documentation

bool axlAbstractVolumeBSpline::connectionsAreDefined ( void  )
virtual

Return true if control points connections were defined by developers. False if there are default connections visualization.

Definition at line 273 of file axlAbstractVolumeBSpline.cpp.

QVariantList axlAbstractVolumeBSpline::convertDataToQVariant ( void  ) const
virtual

Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData.

Reimplemented from axlAbstractData.

Definition at line 323 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::convertQVariantToData ( const QVariantList &  data)
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 361 of file axlAbstractVolumeBSpline.cpp.

axlAbstractVolumeBSpline * axlAbstractVolumeBSpline::copy ( void  ) const
virtual

Definition at line 45 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::countControlPoints ( void  ) const
virtual

Definition at line 51 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::countControlPoints_u ( void  ) const
virtual

Definition at line 57 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::countControlPoints_v ( void  ) const
virtual

Definition at line 63 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::countControlPoints_w ( void  ) const
virtual

Definition at line 69 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::defineControlPointConnection ( int  i,
int  j 
)
virtual

Define connection between the ith and the jth coefficient.

Definition at line 300 of file axlAbstractVolumeBSpline.cpp.

QString axlAbstractVolumeBSpline::description ( void  ) const
virtual

Definition at line 247 of file axlAbstractVolumeBSpline.cpp.

axlPoint axlAbstractVolumeBSpline::getCoef ( int  n,
int  m,
int  k 
) const
virtual

Definition at line 131 of file axlAbstractVolumeBSpline.cpp.

axlPoint axlAbstractVolumeBSpline::getCoef ( int  n) const
virtual

Definition at line 137 of file axlAbstractVolumeBSpline.cpp.

QList< int > axlAbstractVolumeBSpline::getControlPointConnection ( int  i)
virtual

The list returned contains all indices of coefficients that are still to be connected to the ith coefficient.

Definition at line 291 of file axlAbstractVolumeBSpline.cpp.

double axlAbstractVolumeBSpline::getCoord ( int  n,
int  m,
int  k,
int  v 
) const
virtual

Definition at line 125 of file axlAbstractVolumeBSpline.cpp.

double axlAbstractVolumeBSpline::getKnot_u ( int  n) const
virtual

Definition at line 168 of file axlAbstractVolumeBSpline.cpp.

double axlAbstractVolumeBSpline::getKnot_v ( int  n) const
virtual

Definition at line 174 of file axlAbstractVolumeBSpline.cpp.

double axlAbstractVolumeBSpline::getKnot_w ( int  n) const
virtual

Definition at line 180 of file axlAbstractVolumeBSpline.cpp.

double axlAbstractVolumeBSpline::getWeight ( int  n,
int  m,
int  k 
) const
virtual

Definition at line 144 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::gridEvaluator ( int  num_u,
int  num_v,
int  num_w,
std::vector< double > &  points,
std::vector< double > &  param_u,
std::vector< double > &  param_v,
std::vector< double > &  param_w 
)
virtual

Definition at line 194 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::indexSelected ( int  )
signal
void axlAbstractVolumeBSpline::insertKnot_u ( double  k)
virtual

Definition at line 205 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::insertKnot_v ( double  k)
virtual

Definition at line 215 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::insertKnot_w ( double  k)
virtual

Definition at line 225 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::knotVectorSize_u ( void  ) const
virtual

Definition at line 76 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::knotVectorSize_v ( void  ) const
virtual

Definition at line 82 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::knotVectorSize_w ( void  ) const
virtual

Definition at line 88 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::order_u ( void  ) const
virtual

Definition at line 95 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::order_v ( void  ) const
virtual

Definition at line 101 of file axlAbstractVolumeBSpline.cpp.

int axlAbstractVolumeBSpline::order_w ( void  ) const
virtual

Definition at line 107 of file axlAbstractVolumeBSpline.cpp.

QString axlAbstractVolumeBSpline::printCoeffs ( bool  print) const
virtual

Definition at line 235 of file axlAbstractVolumeBSpline.cpp.

QString axlAbstractVolumeBSpline::printKnotsVector ( bool  print) const
virtual

Definition at line 241 of file axlAbstractVolumeBSpline.cpp.

bool axlAbstractVolumeBSpline::rational ( void  ) const
virtual

Definition at line 114 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::removeKnot_u ( double  k)
virtual

Definition at line 210 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::removeKnot_v ( double  k)
virtual

Definition at line 220 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::removeKnot_w ( double  k)
virtual

Definition at line 230 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::resetControlPointConnections ( void  )
virtual

Removes all control point connections.

Definition at line 281 of file axlAbstractVolumeBSpline.cpp.

QVector< axlPoint * > axlAbstractVolumeBSpline::sampling ( )
virtual

Definition at line 187 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::samplingChanged ( void  )
signal
double axlAbstractVolumeBSpline::scalarValue ( double  u,
double  v,
double  w 
)

Definition at line 253 of file axlAbstractVolumeBSpline.cpp.

virtual void axlAbstractVolumeBSpline::selectIndex ( int  i)
inlinevirtual

Definition at line 109 of file axlAbstractVolumeBSpline.h.

bool axlAbstractVolumeBSpline::setCoef ( int  n,
int  m,
int  k,
int  v,
double  c 
)
virtual

Definition at line 150 of file axlAbstractVolumeBSpline.cpp.

bool axlAbstractVolumeBSpline::setCoef ( int  n,
int  m,
int  k,
double *  controlPoint 
)
virtual

Definition at line 156 of file axlAbstractVolumeBSpline.cpp.

bool axlAbstractVolumeBSpline::setCoef ( int  n,
double *  controlPoint 
)
virtual

Definition at line 162 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::setScalarValue ( double  u,
double  v,
double  w,
double  value 
)

Definition at line 261 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::setVolume ( int  pointsCount_u,
int  pointsCount_v,
int  pointsCount_w,
int  order_u,
int  order_v,
int  order_w,
int  dimension,
double *  knots_u,
double *  knots_v,
double *  knots_w,
double *  points,
bool  rational 
)
virtual

Definition at line 199 of file axlAbstractVolumeBSpline.cpp.

void axlAbstractVolumeBSpline::updated ( void  )
signal
void axlAbstractVolumeBSpline::updateRcoeff ( )
virtual

Definition at line 120 of file axlAbstractVolumeBSpline.cpp.


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