CustusX
22.04-rc5
An IGT application
|
Reader for STL files. More...
#include <cxStlMeshReader.h>
Public Member Functions | |
StlMeshReader (PatientModelServicePtr patientModelService) | |
virtual | ~StlMeshReader () |
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 QString | canReadDataType () const |
virtual DataPtr | read (const QString &uid, const QString &filename) |
std::vector< DataPtr > | read (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 |
Reader for STL files.
Definition at line 24 of file cxStlMeshReader.h.
cx::StlMeshReader::StlMeshReader | ( | PatientModelServicePtr | patientModelService | ) |
Definition at line 27 of file cxStlMeshReader.cpp.
|
inlinevirtual |
Definition at line 30 of file cxStlMeshReader.h.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 32 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 54 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 112 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 107 of file cxStlMeshReader.cpp.
|
inlinevirtual |
Implements cx::FileReaderWriterService.
Definition at line 32 of file cxStlMeshReader.h.
|
virtual |
Reimplemented from cx::FileReaderWriterImplService.
Definition at line 59 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 71 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 78 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 38 of file cxStlMeshReader.cpp.
bool cx::StlMeshReader::readInto | ( | MeshPtr | mesh, |
QString | filename | ||
) |
Definition at line 43 of file cxStlMeshReader.cpp.
|
virtual |
Implements cx::FileReaderWriterService.
Definition at line 92 of file cxStlMeshReader.cpp.