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