comparison OrthancCppClient/Series.h @ 1023:226cfef3822e templating

integration mainline->templating
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jul 2014 11:42:32 +0200
parents de18e90d5507
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
945:427a1f996b7b 1023:226cfef3822e
60 std::string id_, url_; 60 std::string id_, url_;
61 Json::Value series_; 61 Json::Value series_;
62 Orthanc::ArrayFilledByThreads instances_; 62 Orthanc::ArrayFilledByThreads instances_;
63 Status3DImage status_; 63 Status3DImage status_;
64 64
65 bool isVoxelSizeRead_;
66 float voxelSizeX_; 65 float voxelSizeX_;
67 float voxelSizeY_; 66 float voxelSizeY_;
68 float voxelSizeZ_; 67 float voxelSizeZ_;
69 68 float sliceThickness_;
69
70 void Check3DImage(); 70 void Check3DImage();
71 71
72 bool Is3DImageInternal(); 72 bool Is3DImageInternal();
73 73
74 void ReadSeries(); 74 void ReadSeries();
84 Orthanc::PixelFormat format, 84 Orthanc::PixelFormat format,
85 size_t lineStride, 85 size_t lineStride,
86 size_t stackStride, 86 size_t stackStride,
87 Orthanc::ThreadedCommandProcessor::IListener* listener); 87 Orthanc::ThreadedCommandProcessor::IListener* listener);
88 88
89 void LoadVoxelSize();
90
91 public: 89 public:
92 /** 90 /**
93 * {summary}{Create a connection to some series.} 91 * {summary}{Create a connection to some series.}
94 * {param}{connection The remote instance of %Orthanc.} 92 * {param}{connection The remote instance of %Orthanc.}
95 * {param}{id The %Orthanc identifier of the series.} 93 * {param}{id The %Orthanc identifier of the series.}
186 * {summary}{Get the physical size of a voxel along the Z-axis.} 184 * {summary}{Get the physical size of a voxel along the Z-axis.}
187 * {description}{Get the physical size of a voxel along the Z-axis. This call is only valid if this series corresponds to a 3D image.} 185 * {description}{Get the physical size of a voxel along the Z-axis. This call is only valid if this series corresponds to a 3D image.}
188 * {returns}{The voxel size.} 186 * {returns}{The voxel size.}
189 **/ 187 **/
190 float GetVoxelSizeZ(); 188 float GetVoxelSizeZ();
189
190 /**
191 * {summary}{Get the slice thickness.}
192 * {description}{Get the slice thickness. This call is only valid if this series corresponds to a 3D image.}
193 * {returns}{The slice thickness.}
194 **/
195 float GetSliceThickness();
191 196
192 LAAW_API_INTERNAL void Load3DImage(void* target, 197 LAAW_API_INTERNAL void Load3DImage(void* target,
193 Orthanc::PixelFormat format, 198 Orthanc::PixelFormat format,
194 int64_t lineStride, 199 int64_t lineStride,
195 int64_t stackStride, 200 int64_t stackStride,