comparison Framework/Radiography/RadiographyWidget.h @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children 257f2c9a02ac a72c2c9af49a
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
37 public: 37 public:
38 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, SelectionChangedMessage, RadiographyWidget); 38 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, SelectionChangedMessage, RadiographyWidget);
39 39
40 private: 40 private:
41 boost::shared_ptr<RadiographyScene> scene_; 41 boost::shared_ptr<RadiographyScene> scene_;
42 std::auto_ptr<Orthanc::ImageAccessor> floatBuffer_; 42 std::unique_ptr<Orthanc::ImageAccessor> floatBuffer_;
43 std::auto_ptr<CairoSurface> cairoBuffer_; 43 std::unique_ptr<CairoSurface> cairoBuffer_;
44 bool invert_; 44 bool invert_;
45 ImageInterpolation interpolation_; 45 ImageInterpolation interpolation_;
46 bool hasSelection_; 46 bool hasSelection_;
47 size_t selectedLayer_; 47 size_t selectedLayer_;
48 48