Mercurial > hg > orthanc-stone
diff Framework/Layers/DicomStructureSetRendererFactory.h @ 251:192e6e349e69 am-2
first usage of new message system (in SDL only)
author | am@osimis.io |
---|---|
date | Mon, 02 Jul 2018 18:13:46 +0200 |
parents | fccffbf99ba1 |
children | 19bd222283ae |
line wrap: on
line diff
--- a/Framework/Layers/DicomStructureSetRendererFactory.h Mon Jul 02 16:36:17 2018 +0200 +++ b/Framework/Layers/DicomStructureSetRendererFactory.h Mon Jul 02 18:13:46 2018 +0200 @@ -37,21 +37,22 @@ { LayerSourceBase::NotifyGeometryReady(); } - + virtual void NotifyGeometryError(const IVolumeLoader& loader) { LayerSourceBase::NotifyGeometryError(); } - + virtual void NotifyContentChange(const IVolumeLoader& loader) { LayerSourceBase::NotifyContentChange(); } - + StructureSetLoader& loader_; public: - DicomStructureSetRendererFactory(StructureSetLoader& loader) : + DicomStructureSetRendererFactory(MessageBroker& broker, StructureSetLoader& loader) : + LayerSourceBase(broker), loader_(loader) { loader_.Register(*this);