12 #ifndef CXPNGIMAGEREADER_H 13 #define CXPNGIMAGEREADER_H 16 #include "org_custusx_core_filemanager_Export.h" 33 virtual bool canRead(
const QString& type,
const QString& filename);
34 virtual bool readInto(
DataPtr data, QString path);
35 bool readInto(
ImagePtr image, QString filename);
36 virtual QString canReadDataType()
const;
37 virtual DataPtr read(
const QString& uid,
const QString& filename);
38 std::vector<DataPtr> read(
const QString &filename);
41 QString canWriteDataType()
const;
42 bool canWrite(
const QString &type,
const QString &filename)
const;
49 #endif // CXPNGIMAGEREADER_H
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class Data > DataPtr
virtual ~PNGImageReader()
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void write(DataPtr data, const QString &filename)
Reader for portable network graphics .png files.
Namespace for all CustusX production code.