12 #ifndef CXMNIREADERWRITER_H 13 #define CXMNIREADERWRITER_H 15 #include "org_custusx_core_filemanager_Export.h" 19 class ctkPluginContext;
31 QString canReadDataType()
const;
32 bool canRead(
const QString &type,
const QString &filename);
33 DataPtr read(
const QString &uid,
const QString &filename);
34 std::vector<DataPtr> read(
const QString &filename);
35 bool readInto(
DataPtr data, QString path);
37 QString canWriteDataType()
const;
38 bool canWrite(
const QString &type,
const QString &filename)
const;
39 void write(
DataPtr data,
const QString &filename);
41 void setVolumeUidsRelatedToPointsInMNIPointFile(std::vector<QString> volumeUids);
44 QColor getRandomColor();
45 std::vector<QString> dialogForSelectingVolumesForImportedMNITagFile(
int number_of_volumes, QString description);
46 bool validateKnownVolumeUids(
int numberOfVolumesInFile)
const;
51 std::vector<QString> mVolumeUids;
55 #endif // CXMNIREADERWRITER_H
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Namespace for all CustusX production code.