Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::MetaImageReader Class Reference

#include <cxMetaImageReader.h>

Inheritance diagram for cx::MetaImageReader:
cx::FileReaderWriterImplService cx::FileReaderWriterService

Public Member Functions

 MetaImageReader (PatientModelServicePtr patientModelService)
 
virtual ~MetaImageReader ()
 
bool isNull ()
 
virtual bool canRead (const QString &type, const QString &filename)
 
virtual QString canReadDataType () const
 
virtual bool readInto (DataPtr data, QString path)
 
virtual bool readInto (ImagePtr image, QString filename)
 
virtual DataPtr read (const QString &uid, const QString &filename)
 
std::vector< DataPtrread (const QString &filename)
 
virtual vtkImageDataPtr loadVtkImageData (QString filename)
 
QString canWriteDataType () const
 
bool canWrite (const QString &type, const QString &filename) const
 
virtual void write (DataPtr data, const 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
 

Detailed Description

Definition at line 24 of file cxMetaImageReader.h.

Constructor & Destructor Documentation

cx::MetaImageReader::MetaImageReader ( PatientModelServicePtr  patientModelService)

Definition at line 47 of file cxMetaImageReader.cpp.

virtual cx::MetaImageReader::~MetaImageReader ( )
inlinevirtual

Definition at line 30 of file cxMetaImageReader.h.

Member Function Documentation

bool cx::MetaImageReader::canRead ( const QString &  type,
const QString &  filename 
)
virtual

Implements cx::FileReaderWriterService.

Definition at line 57 of file cxMetaImageReader.cpp.

QString cx::MetaImageReader::canReadDataType ( ) const
virtual

Implements cx::FileReaderWriterService.

Definition at line 63 of file cxMetaImageReader.cpp.

bool cx::MetaImageReader::canWrite ( const QString &  type,
const QString &  filename 
) const
virtual

Implements cx::FileReaderWriterService.

Definition at line 195 of file cxMetaImageReader.cpp.

QString cx::MetaImageReader::canWriteDataType ( ) const
virtual

Implements cx::FileReaderWriterService.

Definition at line 190 of file cxMetaImageReader.cpp.

bool cx::MetaImageReader::isNull ( )
virtual

Implements cx::FileReaderWriterService.

Definition at line 52 of file cxMetaImageReader.cpp.

vtkImageDataPtr cx::MetaImageReader::loadVtkImageData ( QString  filename)
virtual

Reimplemented from cx::FileReaderWriterImplService.

Definition at line 30 of file cxMetaImageReader.cpp.

DataPtr cx::MetaImageReader::read ( const QString &  uid,
const QString &  filename 
)
virtual

Implements cx::FileReaderWriterService.

Definition at line 107 of file cxMetaImageReader.cpp.

std::vector< DataPtr > cx::MetaImageReader::read ( const QString &  filename)
virtual

Implements cx::FileReaderWriterService.

Definition at line 114 of file cxMetaImageReader.cpp.

bool cx::MetaImageReader::readInto ( DataPtr  data,
QString  path 
)
virtual

Implements cx::FileReaderWriterService.

Definition at line 68 of file cxMetaImageReader.cpp.

bool cx::MetaImageReader::readInto ( ImagePtr  image,
QString  filename 
)
virtual

Definition at line 72 of file cxMetaImageReader.cpp.

void cx::MetaImageReader::write ( DataPtr  data,
const QString &  filename 
)
virtual

Implements cx::FileReaderWriterService.

Definition at line 152 of file cxMetaImageReader.cpp.


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