11 #include <dtkCoreSupport/dtkGlobal.h>
15 class axlSurfaceRevolutionParametricPrivate
49 qDebug()<<curve->description();
56 qDebug()<<
"No curve for axlSurfaceRevolution.";
61 qDebug()<<
"STILL NULL";
62 qDebug()<<d->curve->description();
84 this->setParent(other.parent());
86 d->axe = other.d->axe;
88 d->curve = other.d->curve;
92 d->theta1 = other.d->theta1;
94 d->theta2 = other.d->theta2;
106 QString result =
"axlSurfaceRevolutionParametric";
108 result.append(
"\nAxe : "+d->axe->description() +
"\nCurve : "+d->curve->identifier() +
"\nStart Angle : "+ QString::number(d->theta1)+
"\nEnd Angle : "+ QString::number(d->theta2) );
120 return "axlSurfaceRevolutionParametric";
176 d->axe =
new axlLine(point1,point2);
216 d->theta1 = startAngle;
218 d->theta2 = endAngle;
Class axlPoint defines 3D points.
Class axlLine defines 3D lines.
void setEndAngle(double ang)
dtkAbstractData * createaxlSurfaceRevolutionParametric(void)
void setStartAngle(double ang)
virtual QString identifier(void) const
void setAxe(axlLine *line)
axlSurfaceRevolutionParametric(QObject *parent=0)
axlAbstractCurve * getCurve()
void setCurve(axlAbstractCurve *curve)
~axlSurfaceRevolutionParametric()
void setAngle(double startAngle, double endAngle)
axlSurfaceRevolutionParametric & operator=(const axlSurfaceRevolutionParametric &other)
virtual QString description(void) const