Search found 5 matches
- Thu, 2025-01-16, 11:35
- Forum: DCMTK - General
- Topic: DcmSCP usage
- Replies: 4
- Views: 418
Re: DcmSCP usage
Thank you for your answer! I will handle the debugging myself, but I am wondering if the code flow is correct, more specifically, to implement a server by inheriting from DcmSCP I must: override DcmSCP::handleIncomingCommand(...) whose body should be an if(ECHO) else if(FIND) else if(MOVE) else if ....
- Wed, 2025-01-15, 10:31
- Forum: DCMTK - General
- Topic: DcmSCP usage
- Replies: 4
- Views: 418
Re: DcmSCP usage
Thank you for your reply! This is what I have come up with and it works! OFCondition Server::handleECHORequest( T_DIMSE_C_EchoRQ& reqMessage, const T_ASC_PresentationContextID presID) { OFCondition status = EC_Normal; OFString tempStr; T_DIMSE_Message response = createECHOResponse(reqMessage); s...
- Tue, 2025-01-14, 09:08
- Forum: DCMTK - General
- Topic: DcmSCP usage
- Replies: 4
- Views: 418
DcmSCP usage
Hello, I am trying to simulate a DICOM server by inheriting DcmSCP and I got stuck while overriding the DcmSCP::handleECHORequest(...) . I have been looking through the source code of the class and I designed my Server::handleECHORequest(...) based on it. How do I call DIMSE_sendEchoResponse(...) ? ...
- Wed, 2025-01-08, 15:34
- Forum: DCMTK - General
- Topic: DcmMetaInfo value retrieval
- Replies: 2
- Views: 548
Re: DcmMetaInfo value retrieval
Thank you for your answer. You were right, it seems that I did not take into consideration that the method Reader::findContainerOfNode() will be used with both the DcmDataset and the DcmMetaInfo when I had designed it. I included a code snippet containing the body of the method and I highlighted the...
- Wed, 2025-01-08, 14:45
- Forum: DCMTK - General
- Topic: DcmMetaInfo value retrieval
- Replies: 2
- Views: 548
DcmMetaInfo value retrieval
Hello :), I am new to DICOM and DCMTK and I am looking to get a grasp on them. I am currently trying to implement a simple DICOM file visualizer that should work like this: I pass a path to the program and it prints in the terminal the contents of the file (similarly to what DCMTK's print method off...