12 #ifndef CXDICOMREADER_H 13 #define CXDICOMREADER_H 16 #include "org_custusx_core_filemanager_Export.h" 17 class QProgressDialog;
42 virtual bool canRead(
const QString& type,
const QString& filename);
43 virtual bool readInto(
DataPtr data, QString path);
44 bool readInto(
ImagePtr image, QString filename);
45 virtual QString canReadDataType()
const;
46 virtual DataPtr read(
const QString& uid,
const QString& filename);
47 std::vector<DataPtr> read(
const QString &filename);
50 QString canWriteDataType()
const;
51 bool canWrite(
const QString &type,
const QString &filename)
const;
56 std::vector<ImagePtr> importSeries(QString fileName,
bool readBestSeries);
60 std::vector<ImagePtr> importAllSeries(
ctkDICOMDatabasePtr database, QProgressDialog &progress);
61 void stopDCMTKMessages();
62 bool canReadDir(QString dirname,
bool checkSubDirs);
63 bool canReadFile(QString filename);
65 QStringList findAllSubfoldersWithDicomFiles(QString folder, QProgressDialog &progress);
66 QStringList findAllSubDirs(QString folder);
70 #endif // CXDICOMREADER_H
boost::shared_ptr< class Image > ImagePtr
void write(DataPtr data, const QString &filename)
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
QSharedPointer< class ctkDICOMDatabase > ctkDICOMDatabasePtr
Namespace for all CustusX production code.