#include <cxDICOMReader.h>
|
| DICOMReader (PatientModelServicePtr patientModelService) |
|
virtual | ~DICOMReader () |
|
bool | isNull () |
|
virtual bool | canRead (const QString &type, const QString &filename) |
| Simple check if file is a DICOM file. DICOM files can have several different endings (. .dcm .dicom .ima), so we instead look at the characters at position 0x80. These characters should spell DICM, as specified by DICOM standard PS3.10 "Media Storage and File Format for Media Interchange". More...
|
|
virtual bool | readInto (DataPtr data, QString path) |
|
bool | readInto (ImagePtr image, 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 vtkImageDataPtr | loadVtkImageData (QString filename) |
|
| FileReaderWriterImplService (QString name, QString canReadDataType, QString canWriteDataType, QString fileSuffix, PatientModelServicePtr patientModelService) |
|
virtual QString | getName () const |
|
virtual QString | getFileSuffix () const |
|
virtual vtkPolyDataPtr | loadVtkPolyData (QString filename) |
|
virtual | ~FileReaderWriterService () |
|
Definition at line 23 of file cxDICOMReader.h.
virtual cx::DICOMReader::~DICOMReader |
( |
| ) |
|
|
inlinevirtual |
void cx::DICOMReader::addFolderToDicomDatabase |
( |
ctkDICOMDatabasePtr |
database, |
|
|
QString |
folder |
|
) |
| |
|
protected |
bool cx::DICOMReader::canRead |
( |
const QString & |
type, |
|
|
const QString & |
filename |
|
) |
| |
|
virtual |
Simple check if file is a DICOM file. DICOM files can have several different endings (. .dcm .dicom .ima), so we instead look at the characters at position 0x80. These characters should spell DICM, as specified by DICOM standard PS3.10 "Media Storage and File Format for Media Interchange".
- Parameters
-
- Returns
Implements cx::FileReaderWriterService.
Definition at line 40 of file cxDICOMReader.cpp.
QString cx::DICOMReader::canReadDataType |
( |
| ) |
const |
|
virtual |
bool cx::DICOMReader::canReadDir |
( |
QString |
dirname, |
|
|
bool |
checkSubDirs |
|
) |
| |
|
protected |
bool cx::DICOMReader::canReadFile |
( |
QString |
filename | ) |
|
|
protected |
bool cx::DICOMReader::canWrite |
( |
const QString & |
type, |
|
|
const QString & |
filename |
|
) |
| const |
|
virtual |
QString cx::DICOMReader::canWriteDataType |
( |
| ) |
const |
|
virtual |
QStringList cx::DICOMReader::findAllSubDirs |
( |
QString |
folder | ) |
|
|
protected |
QStringList cx::DICOMReader::findAllSubfoldersWithDicomFiles |
( |
QString |
folder, |
|
|
QProgressDialog & |
progress |
|
) |
| |
|
protected |
std::vector< ImagePtr > cx::DICOMReader::importSeries |
( |
QString |
fileName, |
|
|
bool |
readBestSeries |
|
) |
| |
|
protected |
bool cx::DICOMReader::isNull |
( |
| ) |
|
|
inlinevirtual |
DataPtr cx::DICOMReader::read |
( |
const QString & |
uid, |
|
|
const QString & |
filename |
|
) |
| |
|
virtual |
std::vector< DataPtr > cx::DICOMReader::read |
( |
const QString & |
filename | ) |
|
|
virtual |
bool cx::DICOMReader::readInto |
( |
DataPtr |
data, |
|
|
QString |
path |
|
) |
| |
|
virtual |
bool cx::DICOMReader::readInto |
( |
ImagePtr |
image, |
|
|
QString |
filename |
|
) |
| |
void cx::DICOMReader::stopDCMTKMessages |
( |
| ) |
|
|
protected |
void cx::DICOMReader::write |
( |
DataPtr |
data, |
|
|
const QString & |
filename |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following files:
- /media/jenkins/bamboo/buildagent/xml-data/build-dir/CX-NI-JOB1/CX/CX/source/plugins/org.custusx.core.filemanager/filereaderwriters/cxDICOMReader.h
- /media/jenkins/bamboo/buildagent/xml-data/build-dir/CX-NI-JOB1/CX/CX/source/plugins/org.custusx.core.filemanager/filereaderwriters/cxDICOMReader.cpp