Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomStructureSet.h @ 804:61ba4b504e9a
PolylineSceneLayer now has one color per chain
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 May 2019 15:58:21 +0200 |
parents | 04f518ebd132 |
children | c20dbaab360c |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructureSet.h Tue May 28 14:18:46 2019 +0200 +++ b/Framework/Toolbox/DicomStructureSet.h Tue May 28 15:58:21 2019 +0200 @@ -23,6 +23,7 @@ #include "CoordinateSystem3D.h" #include "Extent2D.h" +#include "../Scene2D/Color.h" #include <Plugins/Samples/Common/FullOrthancDataset.h> @@ -152,6 +153,9 @@ const std::string& GetStructureInterpretation(size_t index) const; + Color GetStructureColor(size_t index) const; + + // TODO - remove void GetStructureColor(uint8_t& red, uint8_t& green, uint8_t& blue,