Fraxinus  22.04-rc3
An IGT application
cx::StlMeshReader Class Reference

Reader for STL files. More...

#include <cxStlMeshReader.h>

Inheritance diagram for cx::StlMeshReader:
cx::FileReaderWriterImplService cx::FileReaderWriterService

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< 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 STL files.

Definition at line 24 of file cxStlMeshReader.h.

Constructor & Destructor Documentation

cx::StlMeshReader::StlMeshReader ( PatientModelServicePtr  patientModelService)

Definition at line 27 of file cxStlMeshReader.cpp.

virtual cx::StlMeshReader::~StlMeshReader ( )
inlinevirtual

Definition at line 30 of file cxStlMeshReader.h.

Member Function Documentation

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

Implements cx::FileReaderWriterService.

Definition at line 32 of file cxStlMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 54 of file cxStlMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 112 of file cxStlMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 107 of file cxStlMeshReader.cpp.

bool cx::StlMeshReader::isNull ( )
inlinevirtual

Implements cx::FileReaderWriterService.

Definition at line 32 of file cxStlMeshReader.h.

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

Reimplemented from cx::FileReaderWriterImplService.

Definition at line 59 of file cxStlMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 71 of file cxStlMeshReader.cpp.

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

Implements cx::FileReaderWriterService.

Definition at line 78 of file cxStlMeshReader.cpp.

bool cx::StlMeshReader::readInto ( DataPtr  data,
QString  path 
)
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.

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

Implements cx::FileReaderWriterService.

Definition at line 92 of file cxStlMeshReader.cpp.


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