CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::FileReaderWriterService Class Referenceabstract

#include <cxFileReaderWriterService.h>

Inheritance diagram for cx::FileReaderWriterService:
cx::FileReaderWriterImplService cx::FileReaderWriterServiceNull cx::FileReaderWriterServiceProxy cx::CgeoReaderWriter cx::DICOMReader cx::MetaImageReader cx::MNIReaderWriter cx::NIfTIReader cx::PNGImageReader cx::PolyDataMeshReader cx::StlMeshReader cx::XMLPolyDataMeshReader

Public Member Functions

virtual ~FileReaderWriterService ()
 
virtual bool isNull ()=0
 
virtual QString getName () const =0
 
virtual QString getFileSuffix () const =0
 
virtual QString canReadDataType () const =0
 
virtual bool canRead (const QString &type, const QString &filename)=0
 
virtual std::vector< DataPtrread (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
 
virtual vtkImageDataPtr loadVtkImageData (QString filename)=0
 
virtual vtkPolyDataPtr loadVtkPolyData (QString filename)=0
 

Static Public Member Functions

static FileReaderWriterServicePtr getNullObject ()
 

Detailed Description

Definition at line 30 of file cxFileReaderWriterService.h.

Constructor & Destructor Documentation

virtual cx::FileReaderWriterService::~FileReaderWriterService ( )
inlinevirtual

Definition at line 36 of file cxFileReaderWriterService.h.

Member Function Documentation

virtual bool cx::FileReaderWriterService::canRead ( const QString &  type,
const QString &  filename 
)
pure virtual
virtual bool cx::FileReaderWriterService::canWrite ( const QString &  type,
const QString &  filename 
) const
pure virtual
virtual QString cx::FileReaderWriterService::getFileSuffix ( ) const
pure virtual
virtual QString cx::FileReaderWriterService::getName ( ) const
pure virtual
FileReaderWriterServicePtr cx::FileReaderWriterService::getNullObject ( )
static

Definition at line 24 of file cxFileReaderWriterService.cpp.

virtual vtkImageDataPtr cx::FileReaderWriterService::loadVtkImageData ( QString  filename)
pure virtual
virtual vtkPolyDataPtr cx::FileReaderWriterService::loadVtkPolyData ( QString  filename)
pure virtual

The documentation for this class was generated from the following files: