This class is in charge of the different process (dcm2nii), pacs query/retrieve (dcm4chee), temporary directory creation and removing, PACS server settings. More...
#include <QtDcmManager.h>
Inherits QObject.
Public Types | |
enum | eOutputdirMode { CUSTOM = 0, DIALOG } |
enum | eConvertionMethod { ITK = 0, DCM2NII } |
enum | eMoveMode { MEDIA = 0, PACS } |
Public Slots | |
void | updateProgressBar (int i) |
void | moveSeriesFinished () |
void | clearPreview () |
void | makePreview (const QString &filename) |
void | onSerieMoved (const QString &directory, const QString &uid, int number) |
void | importSelectedSeries () |
void | importToDirectory (const QString &directory) |
Signals | |
void | serieMoved (const QString &directory) |
void | importFinished () |
void | gettingPreview () |
Public Member Functions | |
void | findPatientsScu () |
Find SCU with Dcmtk code. More... | |
void | findStudiesScu (const QString &patientName) |
void | findSeriesScu (const QString &patientName, const QString &studyUID) |
void | findImagesScu (const QString &uid) |
void | foundPatient (const QMap< QString, QString > &infosMap) |
void | foundStudy (const QMap< QString, QString > &infosMap) |
void | foundSerie (const QMap< QString, QString > &infosMap) |
void | foundImage (const QString &image, int number) |
void | moveSelectedSeries () |
void | getPreviewFromSelectedSerie (const QString &uid, int elementCount) |
void | findPatientsDicomdir () |
void | findStudiesDicomdir (const QString &patientName) |
void | findSeriesDicomdir (const QString &patientName, const QString &studyDescription) |
void | findImagesDicomdir (const QString &serieUID) |
void | setQtDcmWidget (QtDcm *widget) |
void | setPatientsTreeWidget (QTreeWidget *widget) |
void | setStudiesTreeWidget (QTreeWidget *widget) |
void | setSeriesTreeWidget (QTreeWidget *widget) |
void | setImportWidget (QtDcmImportWidget *widget) |
void | setPreviewWidget (QtDcmPreviewWidget *widget) |
void | setSerieInfoWidget (QtDcmSerieInfoWidget *widget) |
void | setOutputdirMode (QtDcmManager::eOutputdirMode mode) |
QtDcmManager::eOutputdirMode | getOutputdirMode () const |
void | clearSerieInfo () |
void | updateSerieInfo (const QString &eltCount, const QString &institution, const QString &name) |
void | loadDicomdir () |
This method read the dicomdir file and populate the patient treewidget. More... | |
void | displayErrorMessage (const QString &message) |
Convenience method that display error message in a QMessageBox window. More... | |
void | displayMessage (const QString &info) |
Convenience method that display information message in a QMessageBox window. More... | |
QString | dicomdir () const |
Return the dicomdir absolute path name. More... | |
void | setDicomdir (const QString &dicomdir) |
Set the dicomdir file name. More... | |
QString | outputDirectory () const |
Return the output directory where the current serie will be reconstructed. More... | |
void | setOutputDirectory (const QString &directory) |
Set the output directory. More... | |
QtDcmServer | currentPacs () const |
void | setCurrentPacs (int index) |
QString | patientName () const |
Patient name getter. More... | |
void | setPatientName (const QString &patientName) |
Patient name setter. More... | |
QString | patientId () const |
Patient id getter. More... | |
void | setPatientId (const QString &patientId) |
Patient id setter. More... | |
QString | patientBirthdate () const |
QString | patientGender () const |
void | setPatientGender (const QString &sex) |
QString | seriesDescription () const |
Serie description getter. More... | |
void | setSerieDescription (const QString &serieDescription) |
Serie description setter. More... | |
QString | studyDescription () const |
Study description getter. More... | |
void | setStudyDescription (const QString &studyDescription) |
Study description setter. More... | |
QString | examDate () const |
void | setModality (const QString &modality) |
Study modality setter. More... | |
QString | modality () const |
Study modality getter. More... | |
void | setStartDate (const QDate &date) |
Study date setter. More... | |
QDate | startDate () const |
Study date getter. More... | |
void | setEndDate (const QDate &date) |
Study date setter. More... | |
QDate | endDate () const |
Study date getter. More... | |
void | addSerieToImport (const QString &uid) |
void | removeSerieToImport (const QString &uid) |
void | clearSeriesToImport () |
int | seriesToImportSize () |
void | addPatient () |
add patient in the list More... | |
eMoveMode | mode () const |
Mode getter. More... | |
void | setListOfImages (const QStringList &images) |
QList< QString > | listOfImages () const |
void | clearListOfImages () |
void | setSerieId (const QString &id) |
QString | currentSeriesDirectory () const |
bool | useExternalConverter () const |
void | setUseExternalConverter (bool use) |
void | deleteTemporaryDirs () |
This method try to delete the temporary directory when closing the QtDcm widget (Doesn't work for the moment) More... | |
Static Public Member Functions | |
static QtDcmManager * | instance () |
static void | destroy () |
This class is in charge of the different process (dcm2nii), pacs query/retrieve (dcm4chee), temporary directory creation and removing, PACS server settings.
Definition at line 44 of file QtDcmManager.h.
Enumerator | |
---|---|
CUSTOM | |
DIALOG |
Definition at line 49 of file QtDcmManager.h.
Enumerator | |
---|---|
ITK | |
DCM2NII |
Definition at line 54 of file QtDcmManager.h.
Enumerator | |
---|---|
MEDIA | |
PACS |
Definition at line 59 of file QtDcmManager.h.
|
static |
Definition at line 116 of file QtDcmManager.cpp.
|
static |
Definition at line 125 of file QtDcmManager.cpp.
void QtDcmManager::findPatientsScu | ( | ) |
Find SCU with Dcmtk code.
Definition at line 272 of file QtDcmManager.cpp.
void QtDcmManager::findStudiesScu | ( | const QString & | patientName | ) |
Definition at line 284 of file QtDcmManager.cpp.
void QtDcmManager::findSeriesScu | ( | const QString & | patientName, |
const QString & | studyUID | ||
) |
Definition at line 293 of file QtDcmManager.cpp.
void QtDcmManager::findImagesScu | ( | const QString & | uid | ) |
Definition at line 302 of file QtDcmManager.cpp.
void QtDcmManager::foundPatient | ( | const QMap< QString, QString > & | infosMap | ) |
Definition at line 309 of file QtDcmManager.cpp.
void QtDcmManager::foundStudy | ( | const QMap< QString, QString > & | infosMap | ) |
Definition at line 320 of file QtDcmManager.cpp.
void QtDcmManager::foundSerie | ( | const QMap< QString, QString > & | infosMap | ) |
Definition at line 332 of file QtDcmManager.cpp.
void QtDcmManager::foundImage | ( | const QString & | image, |
int | number | ||
) |
Definition at line 347 of file QtDcmManager.cpp.
void QtDcmManager::moveSelectedSeries | ( | ) |
Definition at line 408 of file QtDcmManager.cpp.
void QtDcmManager::getPreviewFromSelectedSerie | ( | const QString & | uid, |
int | elementCount | ||
) |
Definition at line 459 of file QtDcmManager.cpp.
void QtDcmManager::findPatientsDicomdir | ( | ) |
Definition at line 372 of file QtDcmManager.cpp.
void QtDcmManager::findStudiesDicomdir | ( | const QString & | patientName | ) |
Definition at line 381 of file QtDcmManager.cpp.
void QtDcmManager::findSeriesDicomdir | ( | const QString & | patientName, |
const QString & | studyDescription | ||
) |
Definition at line 390 of file QtDcmManager.cpp.
void QtDcmManager::findImagesDicomdir | ( | const QString & | serieUID | ) |
Definition at line 400 of file QtDcmManager.cpp.
void QtDcmManager::setQtDcmWidget | ( | QtDcm * | widget | ) |
Definition at line 173 of file QtDcmManager.cpp.
void QtDcmManager::setPatientsTreeWidget | ( | QTreeWidget * | widget | ) |
Definition at line 183 of file QtDcmManager.cpp.
void QtDcmManager::setStudiesTreeWidget | ( | QTreeWidget * | widget | ) |
Definition at line 188 of file QtDcmManager.cpp.
void QtDcmManager::setSeriesTreeWidget | ( | QTreeWidget * | widget | ) |
Definition at line 193 of file QtDcmManager.cpp.
void QtDcmManager::setImportWidget | ( | QtDcmImportWidget * | widget | ) |
Definition at line 198 of file QtDcmManager.cpp.
void QtDcmManager::setPreviewWidget | ( | QtDcmPreviewWidget * | widget | ) |
Definition at line 205 of file QtDcmManager.cpp.
void QtDcmManager::setSerieInfoWidget | ( | QtDcmSerieInfoWidget * | widget | ) |
Definition at line 210 of file QtDcmManager.cpp.
void QtDcmManager::setOutputdirMode | ( | QtDcmManager::eOutputdirMode | mode | ) |
Definition at line 220 of file QtDcmManager.cpp.
QtDcmManager::eOutputdirMode QtDcmManager::getOutputdirMode | ( | ) | const |
Definition at line 215 of file QtDcmManager.cpp.
void QtDcmManager::clearSerieInfo | ( | ) |
Definition at line 225 of file QtDcmManager.cpp.
void QtDcmManager::updateSerieInfo | ( | const QString & | eltCount, |
const QString & | institution, | ||
const QString & | name | ||
) |
Definition at line 235 of file QtDcmManager.cpp.
void QtDcmManager::loadDicomdir | ( | ) |
This method read the dicomdir file and populate the patient treewidget.
Definition at line 355 of file QtDcmManager.cpp.
void QtDcmManager::displayErrorMessage | ( | const QString & | message | ) |
Convenience method that display error message in a QMessageBox window.
message | the error message to display |
Definition at line 254 of file QtDcmManager.cpp.
void QtDcmManager::displayMessage | ( | const QString & | info | ) |
Convenience method that display information message in a QMessageBox window.
info | the information message to display |
Definition at line 263 of file QtDcmManager.cpp.
QString QtDcmManager::dicomdir | ( | ) | const |
Return the dicomdir absolute path name.
Definition at line 746 of file QtDcmManager.cpp.
void QtDcmManager::setDicomdir | ( | const QString & | dicomdir | ) |
Set the dicomdir file name.
dicomdir | the dicomdir file name |
Definition at line 751 of file QtDcmManager.cpp.
QString QtDcmManager::outputDirectory | ( | ) | const |
Return the output directory where the current serie will be reconstructed.
Definition at line 762 of file QtDcmManager.cpp.
void QtDcmManager::setOutputDirectory | ( | const QString & | directory | ) |
Set the output directory.
directory | the output directory |
Definition at line 767 of file QtDcmManager.cpp.
QtDcmServer QtDcmManager::currentPacs | ( | ) | const |
Definition at line 772 of file QtDcmManager.cpp.
void QtDcmManager::setCurrentPacs | ( | int | index | ) |
Definition at line 777 of file QtDcmManager.cpp.
QString QtDcmManager::patientName | ( | ) | const |
Patient name getter.
Definition at line 784 of file QtDcmManager.cpp.
void QtDcmManager::setPatientName | ( | const QString & | patientName | ) |
Patient name setter.
patientName | as a QString |
Definition at line 789 of file QtDcmManager.cpp.
QString QtDcmManager::patientId | ( | ) | const |
void QtDcmManager::setPatientId | ( | const QString & | patientId | ) |
Patient id setter.
patientId | as a QString |
Definition at line 799 of file QtDcmManager.cpp.
QString QtDcmManager::patientBirthdate | ( | ) | const |
Definition at line 804 of file QtDcmManager.cpp.
QString QtDcmManager::patientGender | ( | ) | const |
Definition at line 814 of file QtDcmManager.cpp.
void QtDcmManager::setPatientGender | ( | const QString & | sex | ) |
Definition at line 834 of file QtDcmManager.cpp.
QString QtDcmManager::seriesDescription | ( | ) | const |
Serie description getter.
Definition at line 839 of file QtDcmManager.cpp.
void QtDcmManager::setSerieDescription | ( | const QString & | serieDescription | ) |
Serie description setter.
serieDescription | as a QString |
Definition at line 844 of file QtDcmManager.cpp.
QString QtDcmManager::studyDescription | ( | ) | const |
Study description getter.
Definition at line 849 of file QtDcmManager.cpp.
void QtDcmManager::setStudyDescription | ( | const QString & | studyDescription | ) |
Study description setter.
studyDescription | as a QString |
Definition at line 854 of file QtDcmManager.cpp.
QString QtDcmManager::examDate | ( | ) | const |
Definition at line 824 of file QtDcmManager.cpp.
void QtDcmManager::setModality | ( | const QString & | modality | ) |
Study modality setter.
modality | as a QString |
Definition at line 859 of file QtDcmManager.cpp.
QString QtDcmManager::modality | ( | ) | const |
Study modality getter.
Definition at line 864 of file QtDcmManager.cpp.
void QtDcmManager::setStartDate | ( | const QDate & | date | ) |
QDate QtDcmManager::startDate | ( | ) | const |
void QtDcmManager::setEndDate | ( | const QDate & | date | ) |
QDate QtDcmManager::endDate | ( | ) | const |
void QtDcmManager::addSerieToImport | ( | const QString & | uid | ) |
Definition at line 925 of file QtDcmManager.cpp.
void QtDcmManager::removeSerieToImport | ( | const QString & | uid | ) |
Definition at line 932 of file QtDcmManager.cpp.
void QtDcmManager::clearSeriesToImport | ( | ) |
Definition at line 938 of file QtDcmManager.cpp.
int QtDcmManager::seriesToImportSize | ( | ) |
Definition at line 943 of file QtDcmManager.cpp.
void QtDcmManager::addPatient | ( | ) |
add patient in the list
Definition at line 889 of file QtDcmManager.cpp.
QtDcmManager::eMoveMode QtDcmManager::mode | ( | ) | const |
Mode getter.
Definition at line 894 of file QtDcmManager.cpp.
void QtDcmManager::setListOfImages | ( | const QStringList & | images | ) |
Definition at line 899 of file QtDcmManager.cpp.
QList< QString > QtDcmManager::listOfImages | ( | ) | const |
Definition at line 904 of file QtDcmManager.cpp.
void QtDcmManager::clearListOfImages | ( | ) |
Definition at line 909 of file QtDcmManager.cpp.
void QtDcmManager::setSerieId | ( | const QString & | id | ) |
Definition at line 915 of file QtDcmManager.cpp.
QString QtDcmManager::currentSeriesDirectory | ( | ) | const |
Definition at line 920 of file QtDcmManager.cpp.
bool QtDcmManager::useExternalConverter | ( | ) | const |
Definition at line 948 of file QtDcmManager.cpp.
void QtDcmManager::setUseExternalConverter | ( | bool | use | ) |
Definition at line 953 of file QtDcmManager.cpp.
void QtDcmManager::deleteTemporaryDirs | ( | ) |
This method try to delete the temporary directory when closing the QtDcm widget (Doesn't work for the moment)
Definition at line 635 of file QtDcmManager.cpp.
|
slot |
Definition at line 607 of file QtDcmManager.cpp.
|
slot |
Definition at line 600 of file QtDcmManager.cpp.
|
slot |
Definition at line 246 of file QtDcmManager.cpp.
|
slot |
Definition at line 666 of file QtDcmManager.cpp.
|
slot |
Definition at line 580 of file QtDcmManager.cpp.
|
slot |
Definition at line 533 of file QtDcmManager.cpp.
|
slot |
Definition at line 572 of file QtDcmManager.cpp.
|
signal |
|
signal |
|
signal |