23 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
24 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
25 #include <dtkCoreSupport/dtkGlobal.h>
28 class axlFieldSpatialPointDistanceCreatorPrivate
70 }
else if(channel == 1){
72 }
else if(channel == 2){
88 QString newName = d->input->changeFieldName(spatialField->objectName());
89 spatialField->setObjectName(newName);
90 d->input->addField(spatialField);
94 if(spatialField == NULL) {
105 QList<axlAbstractData *>list;
122 return "axlFieldSpatialPointDistanceCreator created fields for input dataset that evaluate the distance from data to a point in the 3D space";
127 return "axlFieldSpatialPointDistanceCreator";
virtual void update(void)
void setParameter(double data, int channel=0)
dtkAbstractProcess * createaxlFieldSpatialPointDistanceCreator(void)
void setInput(dtkAbstractData *data, int channel=0)
axlFieldSpatialPointDistanceCreator(void)
~axlFieldSpatialPointDistanceCreator(void)
void dataSetFieldsChanged(QList< axlAbstractData * > dataSet, QString fieldName)
Class axlFieldSpatialPointDistance defines an API for spatial field.
QString description(void) const
QString identifier(void) const
void setParameter(double data, int channel)
Sets the reference point.
Class axlAbstractData defines an API for all type of axel data.