Fraxinus  22.04-rc3
An IGT application
cx::FileReaderWriterImplService Class Reference

#include <cxFileReaderWriterService.h>

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

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< 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
 

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 ()
 

Detailed Description

Definition at line 71 of file cxFileReaderWriterService.h.

Constructor & Destructor Documentation

cx::FileReaderWriterImplService::FileReaderWriterImplService ( QString  name,
QString  canReadDataType,
QString  canWriteDataType,
QString  fileSuffix,
PatientModelServicePtr  patientModelService 
)

Definition at line 39 of file cxFileReaderWriterService.cpp.

Member Function Documentation

bool cx::FileReaderWriterImplService::canReadInternal ( const QString &  type,
const QString &  filename 
) const
protected

Definition at line 59 of file cxFileReaderWriterService.cpp.

bool cx::FileReaderWriterImplService::canWriteInternal ( const QString &  type,
const QString &  filename 
) const
protected

Definition at line 67 of file cxFileReaderWriterService.cpp.

DataPtr cx::FileReaderWriterImplService::createData ( QString  type,
QString  filename,
QString  name = "" 
) const
protected

Definition at line 75 of file cxFileReaderWriterService.cpp.

QString cx::FileReaderWriterImplService::getFileSuffix ( ) const
virtual

Implements cx::FileReaderWriterService.

Definition at line 54 of file cxFileReaderWriterService.cpp.

QString cx::FileReaderWriterImplService::getName ( ) const
virtual

Implements cx::FileReaderWriterService.

Definition at line 49 of file cxFileReaderWriterService.cpp.

virtual vtkImageDataPtr cx::FileReaderWriterImplService::loadVtkImageData ( QString  filename)
inlinevirtual
virtual vtkPolyDataPtr cx::FileReaderWriterImplService::loadVtkPolyData ( QString  filename)
inlinevirtual

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