Contents
Navigation
Home User Reference Other Resources


The QTPlgDicomConverter class is an abstract class that represents the base of a set of plugin classes implemented to provide you with services that allow the conversion of some non–dicom data source (such a QuickTime movies or still images) to data suitable for using with dicom structures.

This class defines properties and methods inherited from its derived classes. The conversion of specific types of data is delegated to the appropriate QTPlgDicomConverter’s subclass.

Since version 6.3 of the plugin this class can be used in Console Applications






The class has not constructor at all (you can always use the Realbasic common constructor syntax, of course, but you will obtain an usless object). Its destructor, will be implicitly invoked every time one of its derived classes will be destroyed. The class destructor will also close the connection to the component in use if any.

Anyway, once a new instance of a class derived from QTPlgDicomConverter is returned, it is good practice to check the class property to be sure that the new object can be used. As a rule of thumb, a class derived from QTPlgDicomConverter is valid if a data source has been associated to the class instance in use.

specifies the dicom data structure that has to be associated to the converted data.
specifies your custom progress callback. If this property is set to a instance of the class, it will be invoked anytime you perform a conversion

(dst as folderitem)
use this method to convert the data extracting from the specified source and write the output to the dicom file specified by the dst parameter; in this file will be included the dicom structure defined by the class property. If the target file already exists in the specified location, this function will overwrite it with the new dicom file. You determine the type of conversion to be executed by specifying the required into the and the parameters to be applied adding to the an appropriate (i.e. if you want to convert a still image or a movie you need to set up a data set). If you do not specify any data set describing the conversion parameters, the class instance tries to create a default data set appropriate to the conversion to be performed.
returns nothing. Check the class property for errors