Mercurial > hg > orthanc-stone
diff 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 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyWidget.h Thu Nov 29 19:25:15 2018 +0100 +++ b/Framework/Radiography/RadiographyWidget.h Mon Dec 03 13:53:29 2018 +0100 @@ -53,6 +53,10 @@ virtual bool RenderScene(CairoContext& context, const ViewportGeometry& view); + virtual void RenderBackground(Orthanc::ImageAccessor& image, float minValue, float maxValue); + + bool IsInvertedInternal() const; + public: RadiographyWidget(MessageBroker& broker, 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)