Mercurial > hg > orthanc-stone
comparison Framework/Layers/LayerSourceBase.cpp @ 262:77fdab5b5d6e am-2
cleanup + todos
author | am@osimis.io |
---|---|
date | Tue, 17 Jul 2018 18:28:12 +0200 |
parents | e5a9b3d03478 |
children | 89d02de83c03 |
comparison
equal
deleted
inserted
replaced
261:58ad26032bd6 | 262:77fdab5b5d6e |
---|---|
23 | 23 |
24 #include <Core/OrthancException.h> | 24 #include <Core/OrthancException.h> |
25 | 25 |
26 namespace OrthancStone | 26 namespace OrthancStone |
27 { | 27 { |
28 // namespace | |
29 // { | |
30 // class LayerReadyFunctor : public boost::noncopyable | |
31 // { | |
32 // private: | |
33 // std::auto_ptr<ILayerRenderer> layer_; | |
34 // const CoordinateSystem3D& slice_; | |
35 // bool isError_; | |
36 | |
37 // public: | |
38 // LayerReadyFunctor(ILayerRenderer* layer, | |
39 // const CoordinateSystem3D& slice, | |
40 // bool isError) : | |
41 // layer_(layer), | |
42 // slice_(slice), | |
43 // isError_(isError) | |
44 // { | |
45 // } | |
46 | |
47 // void operator() (ILayerSource::IObserver& observer, | |
48 // const ILayerSource& source) | |
49 // { | |
50 // observer.NotifyLayerReady(layer_, source, slice_, isError_); | |
51 // } | |
52 // }; | |
53 // } | |
54 | |
55 void LayerSourceBase::NotifyGeometryReady() | 28 void LayerSourceBase::NotifyGeometryReady() |
56 { | 29 { |
57 EmitMessage(IMessage(MessageType_GeometryReady)); | 30 EmitMessage(IMessage(MessageType_GeometryReady)); |
58 } | 31 } |
59 | 32 |