23 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
25 class axlPointSetConverterPrivate
45 return "Converter from axlPointSetConverter to axlMesh";
50 return QStringList() <<
"axlPointSetConverter" <<
"axlPointSet";
60 return dtkAbstractDataFactory::instance()->registerDataConverterType(
"axlPointSetConverter", QStringList(),
"axlMesh",
createaxlPointSetConverter);
70 for(
int i = 0 ; i < d->data->numberOfPoints() ; i++)
79 if(
axlPointSet *point = dynamic_cast<axlPointSet *>(data))
~axlPointSetConverter(void)
QString description(void) const
static bool registered(void)
QString toType(void) const
axlPointSetConverter(void)
dtkAbstractDataConverter * createaxlPointSetConverter(void)
QStringList fromTypes(void) const
void setData(dtkAbstractData *data)
Class axlMesh defines a piecewise-linear 3D object.
void push_back_vertex(const double &x, const double &y, const double &z)
Add a new vertex to the mesh.