MeVisLab Scripting Reference
|
#include <mlabDicomScriptWrapper.h>
Inherits QObject.
Public Types | |
enum | LoadDicomTreeOptions { DicomNoOptions = 0 , DicomReadPixelData = 1 , DicomReadPrivateTags = 2 } |
Public Slots | |
DICOM related functions. | |
| |
MLABMutableDicomTree * | loadDicomTree (const QString &filename, LoadDicomTreeOptions options=DicomNoOptions) |
MLABMutableDicomTree * | createDicomTree () |
QString | createDicomUid () |
QStringList | allNormalTagNames () |
QVariantMap | tagInfo (quint32 tag) |
QVariantMap | tagInfo (const QString &name) |
QVariantMap | tagInfo (quint16 group, quint16 element) |
Access to global DICOM related functions.
An instance of this class is available as global MLABDicom
|
slot |
Get a list of all normal (non-repeating) DICOM tag names.
|
slot |
Create empty tree.
|
slot |
Returns a unique dicom uid with MeVis prefix and software type MeVisLab.
The method uses the DCMTree_Utils::UIDGenerator and offers a globally unique id using the process id, the time stamp and the mac address.
|
slot |
Loads a DICOM file and returns it as a tree object.
The tree is freed again when the last reference to it is removed.
With the options parameter you can specify what tags should be read:
The values must be or'ed together.
|
slot |
Returns a map with information about the DICOM tag.
The name can be a name or a string of the form "(xxxx,yyyy)" where xxxx is the group id and yyyy is the element id. See tagInfo(quint32) for details.
|
slot |
Returns a map with information about the DICOM tag.
see tagInfo(quint32) for details.
|
slot |
Returns a map with information about the DICOM tag.
If the tag is not known, an empty map is returned. The returned map contains the following information: