23 #include <dtkCoreSupport/dtkAbstractData.h>
24 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
25 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
43 return "axlFieldParametricSurfaceNormalVectorReader";
48 return "axlFieldParametricSurfaceNormalVectorReader";
53 return QStringList() <<
"axlFieldParametricNormalVector";
63 QDomElement element = node.toElement();
65 if(element.tagName() !=
"field")
73 return !this->
accept(node);
81 QDomElement element = node.toElement();
85 QString type = element.attribute(
"type");
92 QString name = element.attribute(
"name");
95 field->setObjectName(name);
109 if(!axl_reader->
accept(node))
112 axl_reader->dtkAbstractDataReader::read(this->file());
114 if(dtkAbstractData *data = axl_reader->
read(node))
dtkAbstractDataReader * createaxlFieldParametricSurfaceNormalVectorReader(void)
static bool registered(void)
QString identifier(void) const
QStringList handled(void) const
axlFieldParametricSurfaceNormalVectorReader(void)
bool reject(const QDomNode &node)
axlAbstractData * read(const QDomNode &node)
~axlFieldParametricSurfaceNormalVectorReader(void)
dtkAbstractData * dataByReader(axlAbstractDataReader *axl_reader, const QDomNode &node)
virtual void update(void)
virtual axlAbstractData * read(const QDomNode &node)=0
QString description(void) const
Class axlFieldParametricNormalVector defines an API for field which owns a BSpline Surface as a funct...
virtual bool accept(const QDomNode &node)=0
Class axlAbstractData defines an API for all type of axel data.
bool accept(const QDomNode &node)