Mercurial > hg > orthanc
comparison Resources/Samples/OrthancCppClient/Vtk/main.cpp @ 487:733b24a00c26
sample expanded
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 16 Jul 2013 14:59:23 +0200 |
parents | 4f5b4b0fa626 |
children | ee33c7d0cda0 |
comparison
equal
deleted
inserted
replaced
486:49aa17c03cd3 | 487:733b24a00c26 |
---|---|
144 } | 144 } |
145 | 145 |
146 | 146 |
147 int main() | 147 int main() |
148 { | 148 { |
149 // Use the commented code below if you know the identifier of a | |
150 // series that corresponds to a 3D image. | |
151 | |
152 /* | |
153 { | |
154 OrthancClient::OrthancConnection orthanc("http://localhost:8042"); | |
155 OrthancClient::Series series(orthanc, "c1c4cb95-05e3bd11-8da9f5bb-87278f71-0b2b43f5"); | |
156 Display(series); | |
157 return 0; | |
158 } | |
159 */ | |
160 | |
161 | |
149 // Try and find a 3D image inside the local store | 162 // Try and find a 3D image inside the local store |
150 OrthancClient::OrthancConnection orthanc("http://localhost:8042"); | 163 OrthancClient::OrthancConnection orthanc("http://localhost:8042"); |
151 | 164 |
152 for (unsigned int i = 0; i < orthanc.GetPatientCount(); i++) | 165 for (unsigned int i = 0; i < orthanc.GetPatientCount(); i++) |
153 { | 166 { |