NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::PolyDataMeshReader Class Reference

Reader for .vtk files. More...

#include <cxPolyDataMeshReader.h>

Inheritance diagram for cx::PolyDataMeshReader:
cx::FileReaderWriterImplService cx::FileReaderWriterService

Public Member Functions

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

Definition at line 25 of file cxPolyDataMeshReader.h.

Constructor & Destructor Documentation

◆ PolyDataMeshReader()

cx::PolyDataMeshReader::PolyDataMeshReader ( PatientModelServicePtr  patientModelService)

Definition at line 94 of file cxPolyDataMeshReader.cpp.

◆ ~PolyDataMeshReader()

virtual cx::PolyDataMeshReader::~PolyDataMeshReader ( )
inlinevirtual

Definition at line 31 of file cxPolyDataMeshReader.h.

Member Function Documentation

◆ canRead()

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

Implements cx::FileReaderWriterService.

Definition at line 99 of file cxPolyDataMeshReader.cpp.

◆ canReadDataType()

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

Implements cx::FileReaderWriterService.

Definition at line 55 of file cxPolyDataMeshReader.cpp.

◆ canWrite()

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

Implements cx::FileReaderWriterService.

Definition at line 114 of file cxPolyDataMeshReader.cpp.

◆ canWriteDataType()

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

Implements cx::FileReaderWriterService.

Definition at line 109 of file cxPolyDataMeshReader.cpp.

◆ isNull()

bool cx::PolyDataMeshReader::isNull ( )
inlinevirtual

Implements cx::FileReaderWriterService.

Definition at line 33 of file cxPolyDataMeshReader.h.

◆ loadVtkPolyData()

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

Reimplemented from cx::FileReaderWriterImplService.

Definition at line 43 of file cxPolyDataMeshReader.cpp.

◆ read() [1/2]

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

Implements cx::FileReaderWriterService.

Definition at line 67 of file cxPolyDataMeshReader.cpp.

◆ read() [2/2]

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

Implements cx::FileReaderWriterService.

Definition at line 60 of file cxPolyDataMeshReader.cpp.

◆ readInto() [1/2]

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

Implements cx::FileReaderWriterService.

Definition at line 27 of file cxPolyDataMeshReader.cpp.

◆ readInto() [2/2]

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

Definition at line 32 of file cxPolyDataMeshReader.cpp.

◆ write()

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

Implements cx::FileReaderWriterService.

Definition at line 81 of file cxPolyDataMeshReader.cpp.


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