Mercurial > hg > orthanc
comparison OrthancCppClient/Series.h @ 502:ee33c7d0cda0 laaw
laaw runs correctly on the c++ api
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jul 2013 09:32:03 +0200 |
parents | ec19da4a1fe7 |
children | 6e4bd06c17c5 |
comparison
equal
deleted
inserted
replaced
500:ec19da4a1fe7 | 502:ee33c7d0cda0 |
---|---|
54 const OrthancConnection& connection_; | 54 const OrthancConnection& connection_; |
55 std::string id_, url_; | 55 std::string id_, url_; |
56 Json::Value series_; | 56 Json::Value series_; |
57 Orthanc::ArrayFilledByThreads instances_; | 57 Orthanc::ArrayFilledByThreads instances_; |
58 Status3DImage status_; | 58 Status3DImage status_; |
59 | |
60 bool isVoxelSizeRead_; | |
61 float voxelSizeX_; | |
62 float voxelSizeY_; | |
63 float voxelSizeZ_; | |
59 | 64 |
60 void Check3DImage(); | 65 void Check3DImage(); |
61 | 66 |
62 bool Is3DImageInternal(); | 67 bool Is3DImageInternal(); |
63 | 68 |
73 void Load3DImage(void* target, | 78 void Load3DImage(void* target, |
74 Orthanc::PixelFormat format, | 79 Orthanc::PixelFormat format, |
75 size_t lineStride, | 80 size_t lineStride, |
76 size_t stackStride, | 81 size_t stackStride, |
77 Orthanc::ThreadedCommandProcessor::IListener* listener); | 82 Orthanc::ThreadedCommandProcessor::IListener* listener); |
83 | |
84 void LoadVoxelSize(); | |
78 | 85 |
79 public: | 86 public: |
80 Series(const OrthancConnection& connection, | 87 Series(const OrthancConnection& connection, |
81 const char* id); | 88 const char* id); |
82 | 89 |
103 | 110 |
104 uint32_t GetWidth(); | 111 uint32_t GetWidth(); |
105 | 112 |
106 uint32_t GetHeight(); | 113 uint32_t GetHeight(); |
107 | 114 |
108 void GetVoxelSize(float& sizeX, float& sizeY, float& sizeZ); | 115 float GetVoxelSizeX(); |
116 | |
117 float GetVoxelSizeY(); | |
118 | |
119 float GetVoxelSizeZ(); | |
109 | 120 |
110 const char* GetMainDicomTag(const char* tag, | 121 const char* GetMainDicomTag(const char* tag, |
111 const char* defaultValue) const; | 122 const char* defaultValue) const; |
112 | 123 |
113 LAAW_API_INTERNAL void Load3DImage(void* target, | 124 LAAW_API_INTERNAL void Load3DImage(void* target, |