X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=c09001dcb38e90d66080459f0152d4ea77c80e28;hb=b92ff4ecffb178ca84f9318b57003787dace56a6;hp=a5156f28bc92e4f3c08e49db2c30b74c46d44ff9;hpb=97b13fba69a83e91416caa9e689e012211649f12;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index a5156f2..c09001d 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -80,6 +80,7 @@ public: vvImage::Pointer GetFusion() { return mFusion; } + void ShowFusionLegend(bool show) { showFusionLegend = show; } /**Get/Set an actor's visibility ("overlay, fusion, vf, contour...") Overlay index is the index of the overlay by type, eg. if there are @@ -153,7 +154,7 @@ public: void SetCornerAnnotationVisibility(bool s); bool GetCornerAnnotationVisibility(); - void GetExtremasAroundMousePointer(double & min, double & max, vtkImageData *image); + void GetExtremasAroundMousePointer(double & min, double & max, vtkImageData *image, vtkTransform *transform); void UpdateLandmarks(); void ForceUpdateDisplayExtent(); @@ -244,6 +245,7 @@ protected: int * mReducedExtent; int * mInitialExtent; bool mLinkOverlayWindowLevel; + bool showFusionLegend; private: void UpdateOrientation();