CustusX
22.04-rc5
An IGT application
|
Reader for portable network graphics .png files. More...
#include <cxPNGImageReader.h>
Public Member Functions | |
PNGImageReader (PatientModelServicePtr patientModelService) | |
virtual | ~PNGImageReader () |
bool | isNull () |
virtual bool | canRead (const QString &type, const QString &filename) |
virtual bool | readInto (DataPtr data, QString path) |
bool | readInto (ImagePtr image, QString filename) |
virtual QString | canReadDataType () const |
virtual DataPtr | read (const QString &uid, const QString &filename) |
std::vector< DataPtr > | read (const QString &filename) |
void | write (DataPtr data, const QString &filename) |
QString | canWriteDataType () const |
bool | canWrite (const QString &type, const QString &filename) const |
virtual vtkImageDataPtr | loadVtkImageData (QString filename) |
Public Member Functions inherited from cx::FileReaderWriterImplService | |
FileReaderWriterImplService (QString name, QString canReadDataType, QString canWriteDataType, QString fileSuffix, PatientModelServicePtr patientModelService) | |
virtual QString | getName () const |
virtual QString | getFileSuffix () const |
virtual vtkPolyDataPtr | loadVtkPolyData (QString filename) |
Public Member Functions inherited from cx::FileReaderWriterService | |
virtual | ~FileReaderWriterService () |
Additional Inherited Members | |
Static Public Member Functions inherited from cx::FileReaderWriterService | |
static FileReaderWriterServicePtr | getNullObject () |
Protected Member Functions inherited from cx::FileReaderWriterImplService | |
bool | canReadInternal (const QString &type, const QString &filename) const |
bool | canWriteInternal (const QString &type, const QString &filename) const |
DataPtr | createData (QString type, QString filename, QString name="") const |
Reader for portable network graphics .png files.
Definition at line 23 of file cxPNGImageReader.h.
cx::PNGImageReader::PNGImageReader | ( | PatientModelServicePtr | patientModelService | ) |
Definition at line 25 of file cxPNGImageReader.cpp.
|
inlinevirtual |
Definition at line 29 of file cxPNGImageReader.h.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 31 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 53 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 96 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 91 of file cxPNGImageReader.cpp.
|
inlinevirtual |
Implements cx::FileReaderWriterService.
Definition at line 31 of file cxPNGImageReader.h.
|
virtual |
Reimplemented from cx::FileReaderWriterImplService.
Definition at line 80 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 58 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 65 of file cxPNGImageReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 37 of file cxPNGImageReader.cpp.
bool cx::PNGImageReader::readInto | ( | ImagePtr | image, |
QString | filename | ||
) |
Definition at line 42 of file cxPNGImageReader.cpp.
|
inlinevirtual |
Implements cx::FileReaderWriterService.
Definition at line 40 of file cxPNGImageReader.h.