Mercurial > hg > orthanc-stone
diff Framework/Layers/OrthancFrameLayerSource.cpp @ 90:64e60018943f wasm
fix and observer refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 May 2017 11:04:18 +0200 |
parents | f244018a4e4b |
children | 5945e81734a3 |
line wrap: on
line diff
--- a/Framework/Layers/OrthancFrameLayerSource.cpp Fri May 26 18:27:59 2017 +0200 +++ b/Framework/Layers/OrthancFrameLayerSource.cpp Mon May 29 11:04:18 2017 +0200 @@ -37,7 +37,6 @@ { void OrthancFrameLayerSource::NotifyGeometryReady(const OrthancSlicesLoader& loader) { -#if 0 if (loader.GetSliceCount() > 0) { // Make sure all the slices are parallel. TODO Alleviate this constraint @@ -53,20 +52,11 @@ } LayerSourceBase::NotifyGeometryReady(); -#endif - - // TODO REMOVE THIS - /*if (GetObserver() != NULL) - { - dynamic_cast<LayerWidget*>(GetObserver())->SetSlice(loader.GetSlice(0).GetGeometry()); - }*/ } void OrthancFrameLayerSource::NotifyGeometryError(const OrthancSlicesLoader& loader) { -#if 0 LayerSourceBase::NotifyGeometryError(); -#endif } void OrthancFrameLayerSource::NotifySliceImageReady(const OrthancSlicesLoader& loader,