comparison OrthancStone/Sources/Toolbox/DicomStructureSet.h @ 1885:ddaee6b96501

retrieving rt-struct info
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Jan 2022 19:04:05 +0100
parents 7053b8a0aaec
children 6ce81914f7e4
comparison
equal deleted inserted replaced
1884:0c6923982fdd 1885:ddaee6b96501
33 #include "CoordinateSystem3D.h" 33 #include "CoordinateSystem3D.h"
34 #include "Extent2D.h" 34 #include "Extent2D.h"
35 #include "OrthancDatasets/FullOrthancDataset.h" 35 #include "OrthancDatasets/FullOrthancDataset.h"
36 #include "../Scene2D/Color.h" 36 #include "../Scene2D/Color.h"
37 #include "../Scene2D/PolylineSceneLayer.h" 37 #include "../Scene2D/PolylineSceneLayer.h"
38 #include "../Scene2D/ScenePoint2D.h"
38 39
39 #if ORTHANC_ENABLE_DCMTK == 1 40 #if ORTHANC_ENABLE_DCMTK == 1
40 # include <DicomParsing/ParsedDicomFile.h> 41 # include <DicomParsing/ParsedDicomFile.h>
41 #endif 42 #endif
42 43
194 void GetStructureColor(uint8_t& red, 195 void GetStructureColor(uint8_t& red,
195 uint8_t& green, 196 uint8_t& green,
196 uint8_t& blue, 197 uint8_t& blue,
197 size_t index) const; 198 size_t index) const;
198 199
199 void GetReferencedInstances(std::set<std::string>& instances); 200 void GetReferencedInstances(std::set<std::string>& instances) const;
200 201
201 void AddReferencedSlice(const std::string& sopInstanceUid, 202 void AddReferencedSlice(const std::string& sopInstanceUid,
202 const std::string& seriesInstanceUid, 203 const std::string& seriesInstanceUid,
203 const CoordinateSystem3D& geometry, 204 const CoordinateSystem3D& geometry,
204 double thickness); 205 double thickness);
234 const CoordinateSystem3D& plane, 235 const CoordinateSystem3D& plane,
235 size_t structureIndex) const 236 size_t structureIndex) const
236 { 237 {
237 ProjectOntoLayer(layer, plane, structureIndex, GetStructureColor(structureIndex)); 238 ProjectOntoLayer(layer, plane, structureIndex, GetStructureColor(structureIndex));
238 } 239 }
240
241 void GetStructurePoints(std::list< std::vector<Vector> >& target,
242 size_t structureIndex,
243 const std::string& sopInstanceUid) const;
239 }; 244 };
240 } 245 }