comparison 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
comparison
equal deleted inserted replaced
250:5e642859267e 251:192e6e349e69
35 35
36 virtual void NotifyGeometryReady(const IVolumeLoader& loader) 36 virtual void NotifyGeometryReady(const IVolumeLoader& loader)
37 { 37 {
38 LayerSourceBase::NotifyGeometryReady(); 38 LayerSourceBase::NotifyGeometryReady();
39 } 39 }
40 40
41 virtual void NotifyGeometryError(const IVolumeLoader& loader) 41 virtual void NotifyGeometryError(const IVolumeLoader& loader)
42 { 42 {
43 LayerSourceBase::NotifyGeometryError(); 43 LayerSourceBase::NotifyGeometryError();
44 } 44 }
45 45
46 virtual void NotifyContentChange(const IVolumeLoader& loader) 46 virtual void NotifyContentChange(const IVolumeLoader& loader)
47 { 47 {
48 LayerSourceBase::NotifyContentChange(); 48 LayerSourceBase::NotifyContentChange();
49 } 49 }
50 50
51 StructureSetLoader& loader_; 51 StructureSetLoader& loader_;
52 52
53 public: 53 public:
54 DicomStructureSetRendererFactory(StructureSetLoader& loader) : 54 DicomStructureSetRendererFactory(MessageBroker& broker, StructureSetLoader& loader) :
55 LayerSourceBase(broker),
55 loader_(loader) 56 loader_(loader)
56 { 57 {
57 loader_.Register(*this); 58 loader_.Register(*this);
58 } 59 }
59 60