23 #include <dtkCoreSupport/dtkAbstractData.h>
24 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
25 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
43 return "axlFieldParametricCurveTangentVectorReader";
48 return "axlFieldParametricCurveTangentVectorReader";
53 return QStringList() <<
"axlFieldParametricCurveTangentVector";
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))
bool reject(const QDomNode &node)
virtual void update(void)
axlAbstractData * read(const QDomNode &node)
QString description(void) const
virtual axlAbstractData * read(const QDomNode &node)=0
QString identifier(void) const
QStringList handled(void) const
static bool registered(void)
Class axlFieldParametricCurveTangentVector defines an API for field which owns a BSpline Surface as a...
virtual bool accept(const QDomNode &node)=0
bool accept(const QDomNode &node)
dtkAbstractData * dataByReader(axlAbstractDataReader *axl_reader, const QDomNode &node)
dtkAbstractDataReader * createaxlFieldParametricCurveTangentVectorReader(void)
Class axlAbstractData defines an API for all type of axel data.
~axlFieldParametricCurveTangentVectorReader(void)
axlFieldParametricCurveTangentVectorReader(void)