diff 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
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Fri Jan 14 14:14:25 2022 +0100
+++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Fri Jan 14 19:04:05 2022 +0100
@@ -35,6 +35,7 @@
 #include "OrthancDatasets/FullOrthancDataset.h"
 #include "../Scene2D/Color.h"
 #include "../Scene2D/PolylineSceneLayer.h"
+#include "../Scene2D/ScenePoint2D.h"
 
 #if ORTHANC_ENABLE_DCMTK == 1
 #  include <DicomParsing/ParsedDicomFile.h>
@@ -196,7 +197,7 @@
                            uint8_t& blue,
                            size_t index) const;
 
-    void GetReferencedInstances(std::set<std::string>& instances);
+    void GetReferencedInstances(std::set<std::string>& instances) const;
 
     void AddReferencedSlice(const std::string& sopInstanceUid,
                             const std::string& seriesInstanceUid,
@@ -236,5 +237,9 @@
     {
       ProjectOntoLayer(layer, plane, structureIndex, GetStructureColor(structureIndex));
     }
+
+    void GetStructurePoints(std::list< std::vector<Vector> >& target,
+                            size_t structureIndex,
+                            const std::string& sopInstanceUid) const;
   };
 }