MeVisLab Scripting Reference
|
#include <mlabDicomTree.h>
Inherits MLRefCountedBaseWrapper.
Inherited by MLABMutableDicomTree.
Public Slots | |
Scripting access. | |
| |
QList< MLABDicomTag * > | getTags () |
MLABDicomTag * | getTag (const QString &name) |
MLABDicomTag * | getTagById (int group, int element) |
QString | getPrivateCreator (int group, int element) |
int | findPrivateSlot (int group, const QString &privateCreator) |
MLABDicomTag * | getPrivateTag (int group, const QString &privateCreator, int elementOffset) |
MLABDicomTree * | parentTree () const |
MLABMutableDicomTree * | deepCopy () |
MLABMutableDicomTree * | createDerivedTree () |
bool | save (const QString &filename, bool generateSOPInstanceUID=true) |
static QString | createDicomUid () |
This class wraps a DCMTree::Const_TreePtr for scripting use.
Objects of this class are handed to the scripting API and deleted when not referenced anymore.
|
slot |
Creates a mutable derived tree which still references the original tree.
|
staticslot |
Creates a new DICOM UID.
|
slot |
Creates a mutable deep copy of the given tree.
The returned tree will not contain any references to the source tree anymore.
|
slot |
Find the slot used for a given private tag group.
|
slot |
Returns the private creator string for id given by group id and element id.
|
slot |
Get a private tag.
Uses findPrivateSlot to find the correct slot for the private tag.
This method might fail if it is not applied to the tree on the top-most level, since the private creator might only be set on the top-most tree.
|
slot |
Returns a tag from DICOM tree selected either by name or by id with format "(xxxx,yyyy)", where xxxx is the group id and yyyy is the element id.
|
slot |
Returns the tag from DICOM tree selected by group and element id.
|
slot |
Returns a list of all DICOM tags contained in this tree.
This method is only accessible from Python.
|
slot |
Get the parent tree of this tree (if this is an overlay tree, otherwise nullptr)
|
slot |
Saves the Dicom Tree to disk.