X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=c09001dcb38e90d66080459f0152d4ea77c80e28;hb=0608e5a94e72e6c2ae9a1de81657b1f48ed61c3b;hp=a5156f28bc92e4f3c08e49db2c30b74c46d44ff9;hpb=6194949c0beb1589904e22381b9aba1bbface172;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();