When using the LEADTOOLS DICOM Scu .Net Class Library, the first step must be to call DicomEngine.Startup in order to initialize the data required by the library. This is usually done at the beginning of the application. When the library is no longer needed, DicomEngine.Shutdown must be called to release the data. This is usually done when the application needs to shutdown. The following topics provide a systematic approach to understanding how to program with the LEADTOOLS DICOM Scu .Net Class Library.
DICOM Storage Service Class SCU
The DICOM standard defines Storage Service Classes that facilitate the storing of DICOM datasets. The functionality provided by the StoreScu class simplifies the process of building a Storage Service Class User ( Storage SCU ). The StoreScu class provides members to handle all the SOP and Meta SOP Classes defined by the Storage Service Class. StoreScu class provides the following method for doing a C-STORE-REQ : StoreScu.Store
Additionally the following events are available:
- StoreScu.BeforeCStore use to receive notification before a C-STORE-REQ is sent.
- StoreScu.AfterCStore use to receive notification after a C-STORE-RSP has been received.
DICOM Query/Retrieve Service Class SCU
The DICOM standard defines Query/Retrieve Service Classes that facilitate the querying and retrieving of DICOM datasets. The functionality provided by the QueryRetrieveScu class simplifies the process of building a Query/Retrieve Service Class User (Query/Retrieve SCU). The QueryRetrieveScu class provides members to handle all the SOP and Meta SOP Classes defined by the Storage Service Class. The QueryRetrieveScu class provides the following methods for doing a DICOM query or retrieve operation.
Additionally the following events are available:
- QueryRetrieveScu.BeforeCFind use to receive notification before a C-FIND-REQ is sent.
- QueryRetrieveScu.AfterCFind use to receive notification after a C-FIND-RSP has been received.
- QueryRetrieveScu.MatchInstance use to get each match instance found during a C-FIND-REQ command.
- QueryRetrieveScu.BeforecMove use to receive notification before a C-MOVE-REQ is sent.
- QueryRetrieveScu.AfterCMove use to receive notification after a C-MOVE-REQ has been sent.