18 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
24 class axlEllipsoidCreatorPrivate{
60 }
else if(channel == 1){
63 else if(channel == 2){
74 d->output =
dynamic_cast<axlEllipsoid *
>(process->output());
89 if(dynamic_cast<axlPoint *>(newData)){
93 }
else if(channel == 1){
96 else if(channel == 2){
109 if(d->output == NULL){
110 if(d->point1 && d->point2 && d->point3 && d->point4){
112 d->output = newEllipsoid;
118 if(d->point1 && d->point2 && d->point3 && d->point4){
119 d->output->setValues(d->point1, d->point2, d->point3, d->point4);
130 return "create a ellipsoid with four points : \n the first one is the center, \n the three others determine its 3 axes";
135 return "axlEllipsoidCreator";
Class axlPoint defines 3D points.
virtual ~axlEllipsoidCreator(void)
virtual QString description(void) const
virtual QString identifier(void) const
static bool registered(void)
virtual axlAbstractData * getInput(int channel) const
void copyProcess(axlAbstractProcess *process)
virtual dtkAbstractData * output(void)
dtkAbstractProcess * createaxlEllipsoidCreator(void)
virtual void setInput(dtkAbstractData *newData, int channel)
Class axlEllipsoid defines 3D ellipsoids.
axlEllipsoidCreator(QObject *parent=0)
Class axlAbstractData defines an API for all type of axel data.