Developer documentation | Axl-2.5.1

axlCompositeCurve Class Reference

#include <axlCompositeCurve.h>

Inheritance diagram for axlCompositeCurve:
axlAbstractCurveParametric axlAbstractCurve axlAbstractData

Public Member Functions

 axlCompositeCurve (QObject *parent=0)
 
 axlCompositeCurve (bool Case, QObject *parent=0)
 
 ~axlCompositeCurve ()
 
void setCase (bool Case)
 
bool getCase ()
 
axlAbstractCurve get_curve_at_id (int id) const
 
axlAbstractCurveget_pt_curve_at_id (int id) const
 
const axlAbstractCurveget_ref_curve_at_id (int id) const
 
int count_curve (void) const
 
void insert_list_curves (const QList< axlAbstractCurve > &data_curves)
 
void insert_list_curves (const QList< axlAbstractCurve * > &data_curve)
 
void insert_curve (axlAbstractCurve *curve, int id_want_inserted)
 
void insert_curve (axlAbstractCurve curve, int id_want_inserted)
 
void append_curve (const axlAbstractCurve &curve)
 
void append_curve (axlAbstractCurve *curve)
 
void append_point (const axlPoint &startPoint, const axlPoint &endPoint)
 
void append_point (axlPoint *startPoint, axlPoint *endPoint)
 
axlPointget_start_point ()
 
axlPointget_end_point ()
 
void remove_last_curve ()
 
void remove_curve_at_id (int id_want_remove)
 
virtual QString description (void) const
 
virtual QString identifier (void) const
 
axlCompositeCurveoperator= (const axlCompositeCurve &other)
 
- Public Member Functions inherited from axlAbstractCurveParametric
 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)
 

Additional Inherited Members

- Public Slots inherited from axlAbstractCurveParametric
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)
 
- Signals inherited from axlAbstractData
void modifiedGeometry (void)
 
void modifiedStructure (void)
 
void modifiedField (void)
 
void modifiedProperty (void)
 
- Properties inherited from axlAbstractCurveParametric
int samples
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Detailed Description

Definition at line 21 of file axlCompositeCurve.h.

Constructor & Destructor Documentation

axlCompositeCurve::axlCompositeCurve ( QObject *  parent = 0)

Definition at line 14 of file axlCompositeCurve.cpp.

axlCompositeCurve::axlCompositeCurve ( bool  Case,
QObject *  parent = 0 
)

Definition at line 19 of file axlCompositeCurve.cpp.

axlCompositeCurve::~axlCompositeCurve ( )

Definition at line 24 of file axlCompositeCurve.cpp.

Member Function Documentation

void axlCompositeCurve::append_curve ( const axlAbstractCurve curve)

Definition at line 85 of file axlCompositeCurve.cpp.

void axlCompositeCurve::append_curve ( axlAbstractCurve curve)

Definition at line 92 of file axlCompositeCurve.cpp.

void axlCompositeCurve::append_point ( const axlPoint startPoint,
const axlPoint endPoint 
)

Definition at line 100 of file axlCompositeCurve.cpp.

void axlCompositeCurve::append_point ( axlPoint startPoint,
axlPoint endPoint 
)

Definition at line 108 of file axlCompositeCurve.cpp.

int axlCompositeCurve::count_curve ( void  ) const

Definition at line 47 of file axlCompositeCurve.cpp.

QString axlCompositeCurve::description ( void  ) const
virtual

Definition at line 137 of file axlCompositeCurve.cpp.

axlAbstractCurve axlCompositeCurve::get_curve_at_id ( int  id) const
axlPoint * axlCompositeCurve::get_end_point ( )

Definition at line 121 of file axlCompositeCurve.cpp.

axlAbstractCurve * axlCompositeCurve::get_pt_curve_at_id ( int  id) const

Definition at line 39 of file axlCompositeCurve.cpp.

const axlAbstractCurve& axlCompositeCurve::get_ref_curve_at_id ( int  id) const
axlPoint * axlCompositeCurve::get_start_point ( )

Definition at line 117 of file axlCompositeCurve.cpp.

bool axlCompositeCurve::getCase ( )

Definition at line 35 of file axlCompositeCurve.cpp.

QString axlCompositeCurve::identifier ( void  ) const
virtual

Definition at line 155 of file axlCompositeCurve.cpp.

void axlCompositeCurve::insert_curve ( axlAbstractCurve curve,
int  id_want_inserted 
)

Definition at line 69 of file axlCompositeCurve.cpp.

void axlCompositeCurve::insert_curve ( axlAbstractCurve  curve,
int  id_want_inserted 
)

Definition at line 77 of file axlCompositeCurve.cpp.

void axlCompositeCurve::insert_list_curves ( const QList< axlAbstractCurve > &  data_curves)

Definition at line 58 of file axlCompositeCurve.cpp.

void axlCompositeCurve::insert_list_curves ( const QList< axlAbstractCurve * > &  data_curve)

Definition at line 52 of file axlCompositeCurve.cpp.

axlCompositeCurve & axlCompositeCurve::operator= ( const axlCompositeCurve other)

Definition at line 160 of file axlCompositeCurve.cpp.

void axlCompositeCurve::remove_curve_at_id ( int  id_want_remove)

Definition at line 131 of file axlCompositeCurve.cpp.

void axlCompositeCurve::remove_last_curve ( )

Definition at line 125 of file axlCompositeCurve.cpp.

void axlCompositeCurve::setCase ( bool  Case)

Definition at line 30 of file axlCompositeCurve.cpp.


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