X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManager.h;h=5bbc3c7343f239c5eef45e7e7fdd1a99f204a7dc;hb=981c4ae594d096a10a97c39486baf021cb53456e;hp=5d8d5d2d846890c35e024f99e5e988bbf20ca3c4;hpb=30659c9eea7c95c04002cb3de18d6e584f8d1296;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index 5d8d5d2..5bbc3c7 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -99,7 +99,7 @@ class vvSlicerManager : public QObject { else return -1; } - void SetFilename(std::string f); + void SetFilename(std::string f, int number=0); void SetTSlice(int slice); void SetNextTSlice(int originating_slicer); @@ -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; @@ -158,6 +158,7 @@ class vvSlicerManager : public QObject { void SetCursorVisibility(int s); void UpdateViews(int current, int slicer); void UpdateLinked(int slicer); + void UpdateLinkedNavigation(vvSlicer *slicer, bool bPropagate=false); void Render(); void AddLink(std::string newId) { @@ -202,6 +203,7 @@ signals : void UpdateSliceRange(int slice, int min, int max, int tmin, int tmax); void WindowLevelChanged(double window, double level, int preset, int colormap); void UpdateLinkManager(std::string, int slicer, double x, double y, double z, int temps); + void UpdateLinkedNavigation(std::string, vvSlicerManager*); void LandmarkAdded(); void ChangeImageWithIndexOffset(vvSlicerManager *sm, int slicer, int offset); void LeftButtonReleaseSignal(int slicer);