12 #ifndef CXPOLYDATAMESHREADER_H
13 #define CXPOLYDATAMESHREADER_H
16 #include "org_custusx_core_filemanager_Export.h"
18 class ctkPluginContext;
35 virtual bool canRead(
const QString& type,
const QString& filename);
36 virtual bool readInto(
DataPtr data, QString path);
37 bool readInto(
MeshPtr mesh, QString filename);
40 virtual QString canReadDataType()
const;
41 virtual DataPtr read(
const QString& uid,
const QString& filename);
42 std::vector<DataPtr> read(
const QString &filename);
44 virtual void write(
DataPtr data,
const QString& filename);
45 QString canWriteDataType()
const;
46 bool canWrite(
const QString &type,
const QString &filename)
const;
51 #endif // CXPOLYDATAMESHREADER_H