CustusX  22.04
An IGT application
cx::MNIReaderWriter Class Reference

#include <cxMNIReaderWriter.h>

Inheritance diagram for cx::MNIReaderWriter:
cx::FileReaderWriterImplService cx::FileReaderWriterService

Public Member Functions

 MNIReaderWriter (PatientModelServicePtr patientModelService, ViewServicePtr viewService)
 
bool isNull ()
 
QString canReadDataType () const
 
bool canRead (const QString &type, const QString &filename)
 
DataPtr read (const QString &uid, const QString &filename)
 
std::vector< DataPtrread (const QString &filename)
 
bool readInto (DataPtr data, QString path)
 
QString canWriteDataType () const
 
bool canWrite (const QString &type, const QString &filename) const
 
void write (DataPtr data, const QString &filename)
 
void setVolumeUidsRelatedToPointsInMNIPointFile (std::vector< QString > volumeUids)
 
- 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 vtkImageDataPtr loadVtkImageData (QString filename)
 
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 cxMNIReaderWriter.h.

Constructor & Destructor Documentation

cx::MNIReaderWriter::MNIReaderWriter ( PatientModelServicePtr  patientModelService,
ViewServicePtr  viewService 
)

Definition at line 39 of file cxMNIReaderWriter.cpp.

Member Function Documentation

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

Implements cx::FileReaderWriterService.

Definition at line 60 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 55 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 225 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 220 of file cxMNIReaderWriter.cpp.

bool cx::MNIReaderWriter::isNull ( )
virtual

Implements cx::FileReaderWriterService.

Definition at line 50 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 66 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 73 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 136 of file cxMNIReaderWriter.cpp.

void cx::MNIReaderWriter::setVolumeUidsRelatedToPointsInMNIPointFile ( std::vector< QString >  volumeUids)

Definition at line 235 of file cxMNIReaderWriter.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 230 of file cxMNIReaderWriter.cpp.


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