Developer documentation | Axl-2.5.1

axlTorus Class Reference

#include <axlTorus.h>

Inheritance diagram for axlTorus:
axlAbstractData

Public Slots

void onCenterChanged (axlPoint *center)
 
void onDirectionChanged (axlPoint *direction)
 
void onRingRadiusChanged (double ringRadius)
 
void onCrossSectionRadiusChanged (double crossSectionRadius)
 
- 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

 axlTorus (QObject *parent=0)
 
 axlTorus (axlPoint *center, axlPoint *direction, double ringRadius, double crossSectionRadius)
 
 axlTorus (const axlPoint &center, const axlPoint &direction, double ringRadius, double crossSectionRadius)
 
 axlTorus (const axlTorus &other)
 
virtual ~axlTorus (void)
 
virtual QString description (void) const
 
virtual QString identifier (void) const
 
axlPointcenterPoint (void) const
 
axlPointdirection (void) const
 
double ringRadius (void) const
 
double crossSectionRadius (void) const
 
void setValues (axlPoint *center, axlPoint *direction, double ringRadius, double crossSectionRadius)
 
void setCenter (axlPoint *center)
 
void setCenter (double *center)
 
void setDirection (axlPoint *direction)
 
void setDirection (double *direction)
 
void setRingRadius (double ringRadius)
 
void setCrossSectionRadius (double crossSectionRadius)
 
void touchCenterPoint (axlPoint center)
 
void touchDirection (axlPoint direction)
 
void touchRingRadius (double ringRadius)
 
void touchCrossSectionRadius (double crossSectionRadius)
 
axlTorusoperator= (const axlTorus &other)
 
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...
 
- 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)
 

Properties

axlPoint centerPoint
 
axlPoint direction
 
double ringRadius
 
double crossSectionRadius
 
- Properties inherited from axlAbstractData
QColor color
 
double opacity
 
double size
 
QString shader
 

Friends

QDebug operator<< (QDebug dbg, axlTorus torus)
 
QDebug operator<< (QDebug dbg, axlTorus &torus)
 
QDebug operator<< (QDebug dbg, axlTorus *torus)
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file axlTorus.h.

Constructor & Destructor Documentation

axlTorus::axlTorus ( QObject *  parent = 0)

Definition at line 39 of file axlTorus.cpp.

axlTorus::axlTorus ( axlPoint center,
axlPoint direction,
double  ringRadius,
double  crossSectionRadius 
)

Definition at line 51 of file axlTorus.cpp.

axlTorus::axlTorus ( const axlPoint center,
const axlPoint direction,
double  ringRadius,
double  crossSectionRadius 
)

Definition at line 63 of file axlTorus.cpp.

axlTorus::axlTorus ( const axlTorus other)

Definition at line 75 of file axlTorus.cpp.

axlTorus::~axlTorus ( void  )
virtual

Definition at line 87 of file axlTorus.cpp.

Member Function Documentation

axlPoint * axlTorus::centerPoint ( void  ) const

Definition at line 113 of file axlTorus.cpp.

QVariantList axlTorus::convertDataToQVariant ( void  ) const
virtual

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

Reimplemented from axlAbstractData.

Definition at line 234 of file axlTorus.cpp.

int axlTorus::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 252 of file axlTorus.cpp.

double axlTorus::crossSectionRadius ( void  ) const

Definition at line 125 of file axlTorus.cpp.

QString axlTorus::description ( void  ) const
virtual

Definition at line 100 of file axlTorus.cpp.

axlPoint * axlTorus::direction ( void  ) const

Definition at line 117 of file axlTorus.cpp.

QString axlTorus::identifier ( void  ) const
virtual

Definition at line 109 of file axlTorus.cpp.

void axlTorus::onCenterChanged ( axlPoint center)
slot

Definition at line 214 of file axlTorus.cpp.

void axlTorus::onCrossSectionRadiusChanged ( double  crossSectionRadius)
slot

Definition at line 229 of file axlTorus.cpp.

void axlTorus::onDirectionChanged ( axlPoint direction)
slot

Definition at line 219 of file axlTorus.cpp.

void axlTorus::onRingRadiusChanged ( double  ringRadius)
slot

Definition at line 224 of file axlTorus.cpp.

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

Definition at line 190 of file axlTorus.cpp.

double axlTorus::ringRadius ( void  ) const

Definition at line 121 of file axlTorus.cpp.

void axlTorus::setCenter ( axlPoint center)

Definition at line 136 of file axlTorus.cpp.

void axlTorus::setCenter ( double *  center)

Definition at line 152 of file axlTorus.cpp.

void axlTorus::setCrossSectionRadius ( double  crossSectionRadius)

Definition at line 148 of file axlTorus.cpp.

void axlTorus::setDirection ( axlPoint direction)

Definition at line 140 of file axlTorus.cpp.

void axlTorus::setDirection ( double *  direction)

Definition at line 159 of file axlTorus.cpp.

void axlTorus::setRingRadius ( double  ringRadius)

Definition at line 144 of file axlTorus.cpp.

void axlTorus::setValues ( axlPoint center,
axlPoint direction,
double  ringRadius,
double  crossSectionRadius 
)

Definition at line 129 of file axlTorus.cpp.

void axlTorus::touchCenterPoint ( axlPoint  center)

Definition at line 166 of file axlTorus.cpp.

void axlTorus::touchCrossSectionRadius ( double  crossSectionRadius)

Definition at line 184 of file axlTorus.cpp.

void axlTorus::touchDirection ( axlPoint  direction)

Definition at line 172 of file axlTorus.cpp.

void axlTorus::touchRingRadius ( double  ringRadius)

Definition at line 178 of file axlTorus.cpp.

Friends And Related Function Documentation

QDebug operator<< ( QDebug  dbg,
axlTorus  torus 
)
friend

Definition at line 199 of file axlTorus.cpp.

QDebug operator<< ( QDebug  dbg,
axlTorus torus 
)
friend

Definition at line 204 of file axlTorus.cpp.

QDebug operator<< ( QDebug  dbg,
axlTorus torus 
)
friend

Definition at line 209 of file axlTorus.cpp.

Property Documentation

axlPoint axlTorus::centerPoint
readwrite

Definition at line 30 of file axlTorus.h.

double axlTorus::crossSectionRadius
readwrite

Definition at line 32 of file axlTorus.h.

axlPoint axlTorus::direction
readwrite

Definition at line 30 of file axlTorus.h.

double axlTorus::ringRadius
readwrite

Definition at line 31 of file axlTorus.h.


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