Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyWidget.h @ 1299:c38c89684d83 broker
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 17:21:24 +0100 |
parents | 7ec8fea061b9 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
38 public: | 38 public: |
39 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, SelectionChangedMessage, RadiographyWidget); | 39 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, SelectionChangedMessage, RadiographyWidget); |
40 | 40 |
41 private: | 41 private: |
42 boost::shared_ptr<RadiographyScene> scene_; | 42 boost::shared_ptr<RadiographyScene> scene_; |
43 std::auto_ptr<Orthanc::ImageAccessor> floatBuffer_; | 43 std::unique_ptr<Orthanc::ImageAccessor> floatBuffer_; |
44 std::auto_ptr<CairoSurface> cairoBuffer_; | 44 std::unique_ptr<CairoSurface> cairoBuffer_; |
45 bool invert_; | 45 bool invert_; |
46 ImageInterpolation interpolation_; | 46 ImageInterpolation interpolation_; |
47 bool hasSelection_; | 47 bool hasSelection_; |
48 size_t selectedLayer_; | 48 size_t selectedLayer_; |
49 | 49 |