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