X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManager.h;h=5eaaa57ce389bfd2fa9d3b7fe2bc8a6c87af2517;hb=6789a2e30f7c951de93ebd0c0596e7168ec6e061;hp=a5eccce4e0610bc86da2f1c1e5ffdbc7e90891b2;hpb=f98406ee8b0a0961caa09e36b771d480481e6b20;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index a5eccce..5eaaa57 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -115,7 +115,7 @@ class vvSlicerManager : public QObject { void SetColorMap(int colormap); void SetPreset(int preset); void SetOverlayColor(int color) { - mOverlayColor = color; + mOverlayColor = (color/60)*60; //SR: new vvBlendImageActor needs 0 or 255 per component } void SetFusionOpacity(int opacity) { mFusionOpacity = opacity; @@ -164,7 +164,7 @@ class vvSlicerManager : public QObject { mLinkedId.push_back(newId); } void RemoveLink(std::string oldId) { - mLinkedId.remove(oldId); + mLinkedId.remove(oldId); } ///Remove the actor defined by its type and index (example: 3rd contour)