Developer documentation | Axl-2.5.1

axlAbstractCurveParametric Class Reference

Generic interface for parametric curve. More...

#include <axlAbstractCurveParametric.h>

Inheritance diagram for axlAbstractCurveParametric:
axlAbstractCurve axlAbstractData axlAbstractCurveBSpline axlAbstractCurveRational axlCircleArc axlCompositeCurve axlCurveOnParamSurface axlLine axlAbstractCurveNurbs

Public Slots

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)
 

Public Member Functions

 axlAbstractCurveParametric (void)
 
virtual ~axlAbstractCurveParametric (void)
 
virtual double startParam (void)
 
virtual double endParam (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)
 
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)
 

Properties

int samples
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Additional Inherited Members

- Signals inherited from axlAbstractData
void modifiedGeometry (void)
 
void modifiedStructure (void)
 
void modifiedField (void)
 
void modifiedProperty (void)
 

Detailed Description

Generic interface for parametric curve.

  • The parameter domain is defined by starting parameter and end parameter.
  • It provides an evaluation function which compute a point from a parameter.

Definition at line 36 of file axlAbstractCurveParametric.h.

Constructor & Destructor Documentation

axlAbstractCurveParametric::axlAbstractCurveParametric ( void  )

Definition at line 37 of file axlAbstractCurveParametric.cpp.

axlAbstractCurveParametric::~axlAbstractCurveParametric ( void  )
virtual

Definition at line 43 of file axlAbstractCurveParametric.cpp.

Member Function Documentation

double axlAbstractCurveParametric::endParam ( void  )
virtual

Reimplemented in axlAbstractCurveBSpline.

Definition at line 56 of file axlAbstractCurveParametric.cpp.

axlPoint axlAbstractCurveParametric::eval ( double  u)
virtual

Definition at line 62 of file axlAbstractCurveParametric.cpp.

void axlAbstractCurveParametric::eval ( axlPoint point,
double  u 
)
virtual

Definition at line 90 of file axlAbstractCurveParametric.cpp.

axlMesh axlAbstractCurveParametric::eval ( double  u,
int  derivs,
bool  from_right = true 
)
virtual

Definition at line 81 of file axlAbstractCurveParametric.cpp.

double axlAbstractCurveParametric::length ( double  tolerance)
virtual

Definition at line 125 of file axlAbstractCurveParametric.cpp.

int axlAbstractCurveParametric::numSamples ( void  )
virtual

Definition at line 132 of file axlAbstractCurveParametric.cpp.

void axlAbstractCurveParametric::onDirectChanged ( bool  direct)
virtualslot

Definition at line 149 of file axlAbstractCurveParametric.cpp.

double axlAbstractCurveParametric::parameterOf ( const axlPoint p)

Definition at line 98 of file axlAbstractCurveParametric.cpp.

const int & axlAbstractCurveParametric::samples ( void  ) const

Definition at line 144 of file axlAbstractCurveParametric.cpp.

void axlAbstractCurveParametric::setNumSamples ( int  numSamples)
virtual

Definition at line 139 of file axlAbstractCurveParametric.cpp.

void axlAbstractCurveParametric::setSamples ( const int &  color)
slot

Definition at line 153 of file axlAbstractCurveParametric.cpp.

double axlAbstractCurveParametric::startParam ( void  )
virtual

Reimplemented in axlAbstractCurveBSpline.

Definition at line 50 of file axlAbstractCurveParametric.cpp.

Property Documentation

int axlAbstractCurveParametric::samples
readwrite

Definition at line 39 of file axlAbstractCurveParametric.h.


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