NorMIT-nav  22.09
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

◆ ~FileReaderWriterService()

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

Definition at line 36 of file cxFileReaderWriterService.h.

Member Function Documentation

◆ canRead()

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

◆ canReadDataType()

◆ canWrite()

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

◆ canWriteDataType()

◆ getFileSuffix()

virtual QString cx::FileReaderWriterService::getFileSuffix ( ) const
pure virtual

◆ getName()

virtual QString cx::FileReaderWriterService::getName ( ) const
pure virtual

◆ getNullObject()

FileReaderWriterServicePtr cx::FileReaderWriterService::getNullObject ( )
static

Definition at line 24 of file cxFileReaderWriterService.cpp.

◆ isNull()

◆ loadVtkImageData()

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

◆ loadVtkPolyData()

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

◆ read() [1/2]

◆ read() [2/2]

◆ readInto()

◆ write()


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