X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManager.h;h=5e0ef60c24194669ebf78e5d30a4eb0aa2aca145;hb=2fc09af39b364b82ddf930be3fee40ca192218ff;hp=cb6cb32778ebc422a09d6a2ccbb4e5f9de519b9d;hpb=dd8a36ea0968ce26b9f25166c1c62354cbb4717b;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index cb6cb32..5e0ef60 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -80,6 +80,7 @@ class vvSlicerManager : public QObject { std::string GetVFName() { return mVFName; } std::string GetOverlayName() { return mOverlayName; } std::string GetFusionName() { return mFusionName; } + std::string GetListOfAbsoluteFilePathInOneString(const std::string &actorType); ///Switch between nearest neighbor and linear interpolation void ToggleInterpolation(); @@ -112,7 +113,6 @@ class vvSlicerManager : public QObject { void SetColorLevel(double s); void SetLocalColorWindowing(const int slicer); void SetOpacity(int i, double factor); - void SetColorMap(); void SetColorMap(int colormap); void SetPreset(int preset); void SetOverlayColor(int color) { @@ -121,6 +121,9 @@ class vvSlicerManager : public QObject { void SetFusionOpacity(int opacity) { mFusionOpacity = opacity; } + void SetFusionThresholdOpacity(int thresOpacity) { + mFusionThresOpacity = thresOpacity; + } void SetFusionColorMap(int colorMap) { mFusionColorMap = colorMap; } @@ -146,6 +149,9 @@ class vvSlicerManager : public QObject { int GetFusionOpacity() { return mFusionOpacity; } + int GetFusionThresholdOpacity() { + return mFusionThresOpacity; + } int GetFusionColorMap() { return mFusionColorMap; } @@ -160,6 +166,7 @@ class vvSlicerManager : public QObject { void UpdateViews(int current, int slicer); void UpdateLinked(int slicer); void UpdateLinkedNavigation(vvSlicer *slicer, bool bPropagate=false); + void ResetTransformationToIdentity(const std::string actorType); void Render(); void AddLink(std::string newId) { @@ -205,7 +212,6 @@ signals : void UpdateVector(int display, double x, double y, double z, double value); void UpdateOverlay(int display, double valueOver, double valueRef); void UpdateFusion(int display, double valueFus); - void UpdateWindows(int slicer, int view, int slice); void UpdateOrientation(int slicer, int orientation); void UpdateSlice(int slicer, int slice); void UpdateTSlice(int slicer, int slice); @@ -230,6 +236,7 @@ protected: int mOverlayColor; int mFusionOpacity; + int mFusionThresOpacity; int mFusionColorMap; double mFusionWindow; double mFusionLevel;