CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::FileReaderWriterServiceProxy Class Reference

#include <cxFileReaderWriterServiceProxy.h>

Inheritance diagram for cx::FileReaderWriterServiceProxy:
cx::FileReaderWriterService

Public Member Functions

 FileReaderWriterServiceProxy (ctkPluginContext *context)
 
virtual ~FileReaderWriterServiceProxy ()
 
virtual bool isNull ()
 
QString getName () const
 
QString getFileSuffix () const
 
bool canRead (const QString &type, const QString &filename)
 
std::vector< DataPtrread (const QString &filename)
 
DataPtr read (const QString &uid, const QString &filename)
 
QString canReadDataType () const
 
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)
 
vtkImageDataPtr loadVtkImageData (QString filename)
 
vtkPolyDataPtr loadVtkPolyData (QString filename)
 
- Public Member Functions inherited from cx::FileReaderWriterService
virtual ~FileReaderWriterService ()
 

Static Public Member Functions

static FileReaderWriterServicePtr create (ctkPluginContext *context)
 
- Static Public Member Functions inherited from cx::FileReaderWriterService
static FileReaderWriterServicePtr getNullObject ()
 

Detailed Description

Definition at line 22 of file cxFileReaderWriterServiceProxy.h.

Constructor & Destructor Documentation

cx::FileReaderWriterServiceProxy::FileReaderWriterServiceProxy ( ctkPluginContext *  context)

Definition at line 23 of file cxFileReaderWriterServiceProxy.cpp.

virtual cx::FileReaderWriterServiceProxy::~FileReaderWriterServiceProxy ( )
inlinevirtual

Definition at line 29 of file cxFileReaderWriterServiceProxy.h.

Member Function Documentation

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

Implements cx::FileReaderWriterService.

Definition at line 34 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 49 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 73 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 68 of file cxFileReaderWriterServiceProxy.cpp.

FileReaderWriterServicePtr cx::FileReaderWriterServiceProxy::create ( ctkPluginContext *  context)
static

Definition at line 18 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 83 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 78 of file cxFileReaderWriterServiceProxy.cpp.

bool cx::FileReaderWriterServiceProxy::isNull ( )
virtual

Implements cx::FileReaderWriterService.

Definition at line 29 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 88 of file cxFileReaderWriterServiceProxy.cpp.

vtkPolyDataPtr cx::FileReaderWriterServiceProxy::loadVtkPolyData ( QString  filename)
virtual

Implements cx::FileReaderWriterService.

Definition at line 93 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 39 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 44 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 54 of file cxFileReaderWriterServiceProxy.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 59 of file cxFileReaderWriterServiceProxy.cpp.


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