Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyWidget.h @ 432:4eb96c6b4e96 am-vsol-upgrade
improved handling of MONOCHROME1, background and invertion
author | am@osimis.io |
---|---|
date | Mon, 03 Dec 2018 13:53:29 +0100 |
parents | 751fb354149e |
children | a750f11892ec |
comparison
equal
deleted
inserted
replaced
431:26b90b110719 | 432:4eb96c6b4e96 |
---|---|
51 } | 51 } |
52 | 52 |
53 virtual bool RenderScene(CairoContext& context, | 53 virtual bool RenderScene(CairoContext& context, |
54 const ViewportGeometry& view); | 54 const ViewportGeometry& view); |
55 | 55 |
56 virtual void RenderBackground(Orthanc::ImageAccessor& image, float minValue, float maxValue); | |
57 | |
58 bool IsInvertedInternal() const; | |
59 | |
56 public: | 60 public: |
57 RadiographyWidget(MessageBroker& broker, | 61 RadiographyWidget(MessageBroker& broker, |
58 boost::shared_ptr<RadiographyScene> scene, // TODO: check how we can avoid boost::shared_ptr here since we don't want them in the public API (app is keeping a boost::shared_ptr to this right now) | 62 boost::shared_ptr<RadiographyScene> scene, // TODO: check how we can avoid boost::shared_ptr here since we don't want them in the public API (app is keeping a boost::shared_ptr to this right now) |
59 const std::string& name); | 63 const std::string& name); |
60 | 64 |