CustusX  20.03-rc1
An IGT application
cx::XMLPolyDataMeshReader Class Reference

Reader for .vtp files. More...

#include <cxXMLPolyDataMeshReader.h>

Inheritance diagram for cx::XMLPolyDataMeshReader:
cx::FileReaderWriterImplService cx::FileReaderWriterService

Public Member Functions

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

Reader for .vtp files.

Definition at line 26 of file cxXMLPolyDataMeshReader.h.

Constructor & Destructor Documentation

cx::XMLPolyDataMeshReader::XMLPolyDataMeshReader ( PatientModelServicePtr  patientModelService)

Definition at line 77 of file cxXMLPolyDataMeshReader.cpp.

virtual cx::XMLPolyDataMeshReader::~XMLPolyDataMeshReader ( )
inlinevirtual

Definition at line 32 of file cxXMLPolyDataMeshReader.h.

Member Function Documentation

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

Implements cx::FileReaderWriterService.

Definition at line 82 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 72 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 95 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 90 of file cxXMLPolyDataMeshReader.cpp.

bool cx::XMLPolyDataMeshReader::isNull ( )
inlinevirtual

Implements cx::FileReaderWriterService.

Definition at line 34 of file cxXMLPolyDataMeshReader.h.

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

Reimplemented from cx::FileReaderWriterImplService.

Definition at line 53 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 65 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 39 of file cxXMLPolyDataMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 23 of file cxXMLPolyDataMeshReader.cpp.

bool cx::XMLPolyDataMeshReader::readInto ( MeshPtr  mesh,
QString  filename 
)

Definition at line 28 of file cxXMLPolyDataMeshReader.cpp.

void cx::XMLPolyDataMeshReader::write ( DataPtr  data,
const QString &  filename 
)
inlinevirtual

Implements cx::FileReaderWriterService.

Definition at line 43 of file cxXMLPolyDataMeshReader.h.


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