Developer documentation | Axl-2.5.1

axlSurfaceRevolution Class Reference

#include <axlSurfaceRevolution.h>

Inheritance diagram for axlSurfaceRevolution:
axlAbstractSurface axlAbstractData

Public Member Functions

 axlSurfaceRevolution (QObject *parent=0)
 
 axlSurfaceRevolution (axlLine *axe, QList< axlAbstractCurve * > curves, double theta1, double theta2, QObject *parent=0)
 
 ~axlSurfaceRevolution ()
 
virtual QString description (void) const
 
virtual QString identifier (void) const
 
axlLinegetAxe ()
 
QList< axlAbstractCurve * > getCurves ()
 
double getStartAngle ()
 
double getEndAngle ()
 
int countCurve ()
 
axlAbstractCurvegetCurve (int id)
 
void setAxe (axlLine *line)
 
void setAxe (axlPoint *point1, axlPoint *point2)
 
void setCurves (QList< axlAbstractCurve * > curves)
 
void setStartAngle (double ang)
 
void setEndAngle (double ang)
 
void setAngle (double startAngle, double endAngle)
 
axlSurfaceRevolutionoperator= (const axlSurfaceRevolution &other)
 
- Public Member Functions inherited from axlAbstractSurface
 axlAbstractSurface (void)
 
virtual ~axlAbstractSurface (void)
 
virtual int dimension (void) const
 
virtual axlMeshtoAxlMesh (void)
 
virtual void * surface (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 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 axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Detailed Description

Definition at line 17 of file axlSurfaceRevolution.h.

Constructor & Destructor Documentation

axlSurfaceRevolution::axlSurfaceRevolution ( QObject *  parent = 0)

Definition at line 31 of file axlSurfaceRevolution.cpp.

axlSurfaceRevolution::axlSurfaceRevolution ( axlLine axe,
QList< axlAbstractCurve * >  curves,
double  theta1,
double  theta2,
QObject *  parent = 0 
)

Definition at line 45 of file axlSurfaceRevolution.cpp.

axlSurfaceRevolution::~axlSurfaceRevolution ( )

Definition at line 61 of file axlSurfaceRevolution.cpp.

Member Function Documentation

int axlSurfaceRevolution::countCurve ( )

Definition at line 177 of file axlSurfaceRevolution.cpp.

QString axlSurfaceRevolution::description ( void  ) const
virtual

Definition at line 96 of file axlSurfaceRevolution.cpp.

axlLine * axlSurfaceRevolution::getAxe ( )

Definition at line 126 of file axlSurfaceRevolution.cpp.

axlAbstractCurve * axlSurfaceRevolution::getCurve ( int  id)

Definition at line 191 of file axlSurfaceRevolution.cpp.

QList< axlAbstractCurve * > axlSurfaceRevolution::getCurves ( )

Definition at line 136 of file axlSurfaceRevolution.cpp.

double axlSurfaceRevolution::getEndAngle ( )

Definition at line 152 of file axlSurfaceRevolution.cpp.

double axlSurfaceRevolution::getStartAngle ( )

Definition at line 144 of file axlSurfaceRevolution.cpp.

QString axlSurfaceRevolution::identifier ( void  ) const
virtual

Definition at line 116 of file axlSurfaceRevolution.cpp.

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

Definition at line 73 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setAngle ( double  startAngle,
double  endAngle 
)

Definition at line 216 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setAxe ( axlLine line)

Definition at line 164 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setAxe ( axlPoint point1,
axlPoint point2 
)

Definition at line 172 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setCurves ( QList< axlAbstractCurve * >  curves)

Definition at line 182 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setEndAngle ( double  ang)

Definition at line 206 of file axlSurfaceRevolution.cpp.

void axlSurfaceRevolution::setStartAngle ( double  ang)

Definition at line 196 of file axlSurfaceRevolution.cpp.


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