Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyWidget.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | 64d90190a08c |
children | c35e98d22764 |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
28 namespace OrthancStone | 28 namespace OrthancStone |
29 { | 29 { |
30 class RadiographyMaskLayer; | 30 class RadiographyMaskLayer; |
31 | 31 |
32 class RadiographyWidget : | 32 class RadiographyWidget : |
33 public WorldSceneWidget, | 33 public Deprecated::WorldSceneWidget, |
34 public IObserver | 34 public IObserver |
35 { | 35 { |
36 private: | 36 private: |
37 boost::shared_ptr<RadiographyScene> scene_; | 37 boost::shared_ptr<RadiographyScene> scene_; |
38 std::auto_ptr<Orthanc::ImageAccessor> floatBuffer_; | 38 std::auto_ptr<Orthanc::ImageAccessor> floatBuffer_; |
51 { | 51 { |
52 return scene_->GetSceneExtent(); | 52 return scene_->GetSceneExtent(); |
53 } | 53 } |
54 | 54 |
55 virtual bool RenderScene(CairoContext& context, | 55 virtual bool RenderScene(CairoContext& context, |
56 const ViewportGeometry& view); | 56 const Deprecated::ViewportGeometry& view); |
57 | 57 |
58 virtual void RenderBackground(Orthanc::ImageAccessor& image, float minValue, float maxValue); | 58 virtual void RenderBackground(Orthanc::ImageAccessor& image, float minValue, float maxValue); |
59 | 59 |
60 bool IsInvertedInternal() const; | 60 bool IsInvertedInternal() const; |
61 | 61 |