Indexes DICOM images located in local directory into an Sql database.
More...
#include <Libs/DICOM/Core/ctkDICOMIndexer.h>
|
| Q_INVOKABLE bool | addDicomdir (ctkDICOMDatabase &database, const QString &directoryName, const QString &destinationDirectoryName="") |
| | Adds directory to database by using DICOMDIR and optionally copies files to destinationDirectory. Scan the directory using Dcmtk and populate the database with all the DICOM images accordingly. More...
|
| |
| Q_INVOKABLE void | addDirectory (ctkDICOMDatabase &database, const QString &directoryName, const QString &destinationDirectoryName="") |
| | Adds directory to database and optionally copies files to destinationDirectory. More...
|
| |
| Q_INVOKABLE void | addFile (ctkDICOMDatabase &database, const QString filePath, const QString &destinationDirectoryName="") |
| | Adds a file to database and optionally copies the file to destinationDirectory. More...
|
| |
| Q_INVOKABLE void | addListOfFiles (ctkDICOMDatabase &database, const QStringList &listOfFiles, const QString &destinationDirectoryName="") |
| | Adds a QStringList containing the file path to database and optionally copies files to destinationDirectory. More...
|
| |
| | ctkDICOMIndexer (QObject *parent=0) |
| |
| Q_INVOKABLE void | refreshDatabase (ctkDICOMDatabase &database, const QString &directoryName) |
| |
| Q_INVOKABLE void | waitForImportFinished () |
| | Deprecated - no op. More...
|
| |
| virtual | ~ctkDICOMIndexer () |
| |
|
| QScopedPointer< ctkDICOMIndexerPrivate > | d_ptr |
| |
Indexes DICOM images located in local directory into an Sql database.
Definition at line 37 of file ctkDICOMIndexer.h.
| ctkDICOMIndexer::ctkDICOMIndexer |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
| virtual ctkDICOMIndexer::~ctkDICOMIndexer |
( |
| ) |
|
|
virtual |
| Q_INVOKABLE bool ctkDICOMIndexer::addDicomdir |
( |
ctkDICOMDatabase & |
database, |
|
|
const QString & |
directoryName, |
|
|
const QString & |
destinationDirectoryName = "" |
|
) |
| |
Adds directory to database by using DICOMDIR and optionally copies files to destinationDirectory. Scan the directory using Dcmtk and populate the database with all the DICOM images accordingly.
- Returns
- Returns false if there was an error while processing the DICOMDIR file.
| Q_INVOKABLE void ctkDICOMIndexer::addDirectory |
( |
ctkDICOMDatabase & |
database, |
|
|
const QString & |
directoryName, |
|
|
const QString & |
destinationDirectoryName = "" |
|
) |
| |
Adds directory to database and optionally copies files to destinationDirectory.
Scan the directory using Dcmtk and populate the database with all the DICOM images accordingly.
| Q_INVOKABLE void ctkDICOMIndexer::addFile |
( |
ctkDICOMDatabase & |
database, |
|
|
const QString |
filePath, |
|
|
const QString & |
destinationDirectoryName = "" |
|
) |
| |
Adds a file to database and optionally copies the file to destinationDirectory.
Scan the file using Dcmtk and populate the database with all the DICOM fields accordingly.
| Q_INVOKABLE void ctkDICOMIndexer::addListOfFiles |
( |
ctkDICOMDatabase & |
database, |
|
|
const QStringList & |
listOfFiles, |
|
|
const QString & |
destinationDirectoryName = "" |
|
) |
| |
Adds a QStringList containing the file path to database and optionally copies files to destinationDirectory.
Scan the directory using Dcmtk and populate the database with all the DICOM images accordingly.
| void ctkDICOMIndexer::cancel |
( |
| ) |
|
|
slot |
| void ctkDICOMIndexer::foundFilesToIndex |
( |
int |
| ) |
|
|
signal |
| void ctkDICOMIndexer::indexingComplete |
( |
| ) |
|
|
signal |
| void ctkDICOMIndexer::indexingFileNumber |
( |
int |
| ) |
|
|
signal |
| void ctkDICOMIndexer::indexingFilePath |
( |
QString |
| ) |
|
|
signal |
| void ctkDICOMIndexer::progress |
( |
int |
| ) |
|
|
signal |
| Q_INVOKABLE void ctkDICOMIndexer::refreshDatabase |
( |
ctkDICOMDatabase & |
database, |
|
|
const QString & |
directoryName |
|
) |
| |
| Q_INVOKABLE void ctkDICOMIndexer::waitForImportFinished |
( |
| ) |
|
Deprecated - no op.
- Deprecated:
- Previously ensured that the QFuture threads have all finished indexing before returning control.
| QScopedPointer<ctkDICOMIndexerPrivate> ctkDICOMIndexer::d_ptr |
|
protected |
The documentation for this class was generated from the following file: