19 #include <dtkCoreSupport/dtkAbstractData.h>
20 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
38 return "axlFieldParametricCurveTangentVectorWriter";
43 return "axlFieldParametricCurveTangentVectorWriter";
48 return QStringList() <<
"axlFieldParametricCurveTangentVector";
67 return !this->
accept(data);
74 QDomElement fieldElement = doc->createElement(
"field");
77 fieldElement.setAttribute(
"type", field->
identifier());
84 QDomElement axlFieldParametricCurveTangentVectorWriter::elementByWriter(
axlAbstractDataWriter *axl_writer, QDomDocument *doc, dtkAbstractData *data)
91 if(!axl_writer->
accept(data))
94 element = axl_writer->
write(doc, data);
axlFieldParametricCurveTangentVectorWriter(void)
bool accept(dtkAbstractData *data)
QString description(void) const
virtual bool accept(dtkAbstractData *data)=0
dtkAbstractDataWriter * createaxlFieldParametricCurveTangentVectorWriter(void)
~axlFieldParametricCurveTangentVectorWriter(void)
QDomElement write(QDomDocument *doc, dtkAbstractData *data)
QString identifier(void) const
static bool registered(void)
Class axlFieldParametricCurveTangentVector defines an API for field which owns a BSpline Surface as a...
virtual QDomElement write(QDomDocument *doc, dtkAbstractData *data)=0
QStringList handled(void) const
QString identifier(void) const
Returns the identifier of the field "axlFieldParametricCurveTangentVector".
bool reject(dtkAbstractData *data)