24 #include "axlCoreExport.h"
31 class axlCylinderPrivate;
36 Q_PROPERTY(
axlPoint point1 READ firstPoint WRITE touchFirstPoint);
37 Q_PROPERTY(
axlPoint point2 READ secondPoint WRITE touchSecondPoint);
38 Q_PROPERTY(
double radius READ radius WRITE touchRadius);
47 virtual QString description(
void)
const;
48 virtual QString identifier(
void)
const;
52 double radius(
void)
const;
53 double length(
void)
const;
58 void setRadius(
double radius);
59 void setLength(
double length);
60 void setFirstPoint(
double *p1);
61 void setSecondPoint(
double *p2);
65 void touchRadius(
double radius);
77 void onFirstPointChanged(
axlPoint *p1);
78 void onSecondPointChanged(
axlPoint *p2);
79 void onRadiusChanged(
double radius);
82 axlCylinderPrivate *d;
98 #endif // AXLCYLINDER_H
Class axlPoint defines 3D points.
Q_DECLARE_METATYPE(axlAbstractData)
QDebug operator<<(QDebug dbg, axlCylinder point)
Class axlCylinder defines 3D cylinders.
virtual int convertQVariantToData(const QVariantList &data)
Modify properties and geometry variables of the axlAbstractData. Return 1 if the modification was suc...
virtual QVariantList convertDataToQVariant(void) const
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData...
dtkAbstractData * createaxlCylinder(void)
Class axlAbstractData defines an API for all type of axel data.