CustusX
22.04-rc2
An IGT application
|
#include <cxFileReaderWriterService.h>
Public Member Functions | |
FileReaderWriterImplService (QString name, QString canReadDataType, QString canWriteDataType, QString fileSuffix, PatientModelServicePtr patientModelService) | |
virtual QString | getName () const |
virtual QString | getFileSuffix () const |
virtual vtkImageDataPtr | loadVtkImageData (QString filename) |
virtual vtkPolyDataPtr | loadVtkPolyData (QString filename) |
Public Member Functions inherited from cx::FileReaderWriterService | |
virtual | ~FileReaderWriterService () |
virtual bool | isNull ()=0 |
virtual QString | canReadDataType () const =0 |
virtual bool | canRead (const QString &type, const QString &filename)=0 |
virtual std::vector< DataPtr > | read (const QString &filename)=0 |
virtual DataPtr | read (const QString &uid, const QString &filename)=0 |
virtual bool | readInto (DataPtr data, QString path)=0 |
virtual QString | canWriteDataType () const =0 |
virtual bool | canWrite (const QString &type, const QString &filename) const =0 |
virtual void | write (DataPtr data, const QString &filename)=0 |
Protected Member Functions | |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from cx::FileReaderWriterService | |
static FileReaderWriterServicePtr | getNullObject () |
Definition at line 71 of file cxFileReaderWriterService.h.
cx::FileReaderWriterImplService::FileReaderWriterImplService | ( | QString | name, |
QString | canReadDataType, | ||
QString | canWriteDataType, | ||
QString | fileSuffix, | ||
PatientModelServicePtr | patientModelService | ||
) |
Definition at line 39 of file cxFileReaderWriterService.cpp.
|
protected |
Definition at line 59 of file cxFileReaderWriterService.cpp.
|
protected |
Definition at line 67 of file cxFileReaderWriterService.cpp.
|
protected |
Definition at line 75 of file cxFileReaderWriterService.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 54 of file cxFileReaderWriterService.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 49 of file cxFileReaderWriterService.cpp.
|
inlinevirtual |
Implements cx::FileReaderWriterService.
Reimplemented in cx::DICOMReader, cx::PNGImageReader, cx::NIfTIReader, and cx::MetaImageReader.
Definition at line 81 of file cxFileReaderWriterService.h.
|
inlinevirtual |
Implements cx::FileReaderWriterService.
Reimplemented in cx::XMLPolyDataMeshReader, cx::StlMeshReader, and cx::PolyDataMeshReader.
Definition at line 82 of file cxFileReaderWriterService.h.