Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/*========================================================================= | ||
Program: Insight Segmentation & Registration Toolkit | ||
Module: $RCSfile: itkDICOMBase.h,v $ | ||
Language: C++ | ||
Date: $Date: 2009-11-29 15:51:11 $ | ||
Version: $Revision: 1.1 $ | ||
Copyright (c) Insight Software Consortium. All rights reserved. | ||
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. | ||
This software is distributed WITHOUT ANY WARRANTY; without even | ||
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||
PURPOSE. See the above copyright notices for more information. | ||
=========================================================================*/ | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
const char peer[] = "dicomserver"; | ||
const int port = 104; | ||
|
||
// Do a C-MOVE | ||
typedef itk::GDCMCMoveSCU CMoveImplementationType; | ||
CMoveImplementationType::Pointer gdcmCMove = CMoveImplementationType::New(); | ||
gdcmCMove->SetPeer( peer ); | ||
gdcmCMove->SetPort( port ); | ||
|
||
typedef itk::DICOMCMove CMoveType; | ||
CMoveType::Pointer cmove = CMoveType::New(); | ||
|
||
cmove->SetImplementation( gdcmCMove ); | ||
|
||
return EXIT_SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters