The QTPlgDicomTree class implements properties and methods that provide you with basic support for read and write dicom structured data.
Simply put, the QTPlugin views dicom structured data as a collection of
classes instances that you can
retrieve, add or remove from a QTPlgDicomTree container by using the usual
This class and its derived class provide, at some extent, support for the older Dicom 2 media format as well.
Since version 6.3 of the plugin this class can be used in Console Applications
→
The QTPlgDicomTree class constructors are called when you create a new instance of the class, while the ˜QTPlgDicomTree class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgDicomTree object is valid if it refers to a valid atom container structure (that is the value of the property is not 0) and contains a valid .
The class provides you with the following initializer methods:
()
This is the default constructor. Use it to create an empty container in memory; the class automatically allocates a
default object
(other as QTPlgDicomTree)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
(src as folderitem)
use this constructor to load the data contained into the dicom file specified by the
src parameter and use them to initialize the new container
identifies the system path to the dicom file source of the currently stored data, if any
specifies the meta information header associated to this container
specifies if the DICOM container in use has icon images
returns a collection of objects that
that represent the icon images stored within the current DICOM container
returns a list of the group numbers that identify the
currently inserted into to the structure
specifies the object that corresponds
to the group element specified by the key parameter; you can obtain the list of all of the
group elements keys by the class
property
(dst as folderitem,
[useGroupLength as boolean])
)
use this method to create a Dicom File using the collection of
objects added to the container. If you set
the optional useGroupLength parameter to true, the method will include the
group length data element for any container object flushed to the specified dicom file
no matter how you set the useGroupLength parameter, the
always includes the group length
data element
() as QTPlgDicomTree
use this function to create an "anonymous" copy of the dicom data currently stored into the container