comparison OrthancStone/Sources/StoneEnumerations.h @ 1665:f62f685e0eb2

avoid loading instance metadata on RTSTRUCT to avoid JSON parsing that freezes the browser
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Nov 2020 15:39:30 +0100
parents 8563ea5d8ae4
children 1e6d3289b1ad
comparison
equal deleted inserted replaced
1664:32e765ca7193 1665:f62f685e0eb2
106 }; 106 };
107 107
108 enum SopClassUid 108 enum SopClassUid
109 { 109 {
110 SopClassUid_Other, 110 SopClassUid_Other,
111 SopClassUid_RTDose 111 SopClassUid_RTDose,
112 SopClassUid_RTStruct,
113 SopClassUid_RTPlan,
114 SopClassUid_EncapsulatedPdf,
115 SopClassUid_VideoEndoscopicImageStorage,
116 SopClassUid_VideoMicroscopicImageStorage,
117 SopClassUid_VideoPhotographicImageStorage
118 };
119
120 enum SeriesThumbnailType
121 {
122 SeriesThumbnailType_NotLoaded = 1, // The remote server cannot decode this image
123 SeriesThumbnailType_Unsupported = 2, // The remote server cannot decode this image
124 SeriesThumbnailType_Pdf = 3,
125 SeriesThumbnailType_Video = 4,
126 SeriesThumbnailType_Image = 5
112 }; 127 };
113 128
114 enum BitmapAnchor 129 enum BitmapAnchor
115 { 130 {
116 BitmapAnchor_BottomLeft, 131 BitmapAnchor_BottomLeft,
154 double& deltaY /* out */, 169 double& deltaY /* out */,
155 BitmapAnchor anchor, 170 BitmapAnchor anchor,
156 unsigned int bitmapWidth, 171 unsigned int bitmapWidth,
157 unsigned int bitmapHeight, 172 unsigned int bitmapHeight,
158 unsigned int border = 0); 173 unsigned int border = 0);
174
175 SeriesThumbnailType GetSeriesThumbnailType(SopClassUid sopClassUid);
159 } 176 }