X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=0536bc1e7ef38995f20918af8d53d9b0c73b93be;hb=2fc09af39b364b82ddf930be3fee40ca192218ff;hp=95ec75e80438d4b5d4e6185f2bca504fc31c09fb;hpb=3dd468aa18eed3a46d33483f288bfda2938ddee3;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 95ec75e..0536bc1 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -28,6 +28,7 @@ #include #include #include +#include class vtkActor; class vtkActor2D; @@ -70,7 +71,7 @@ public: } vtkImageMapToWindowLevelColors* GetOverlayMapper(); vvBlendImageActor* GetOverlayActor() ; - vtkImageMapToWindowLevelColors* GetFusionMapper() ; + vtkImageMapToColors* GetFusionMapper() ; vtkImageActor* GetFusionActor() ; vtkActor* GetVFActor() ; vtkCornerAnnotation* GetAnnotation(); @@ -80,9 +81,10 @@ public: return mFusion; } - /**Set an actor's visibility ("overlay, fusion, vf, contour...") + /**Get/Set an actor's visibility ("overlay, fusion, vf, contour...") Overlay index is the index of the overlay by type, eg. if there are 5 contours and we want to activate the 3rd one, pass 2 **/ + bool GetActorVisibility(const std::string& actor_type, int overlay_index); void SetActorVisibility(const std::string& actor_type, int overlay_index,bool vis); void RemoveActor(const std::string& actor_type, int overlay_index); @@ -200,7 +202,7 @@ protected: vtkSmartPointer mOverlayMapper; vtkSmartPointer mOverlayActor; vtkSmartPointer mFusionReslice; - vtkSmartPointer mFusionMapper; + vtkSmartPointer mFusionMapper; vtkSmartPointer mFusionActor; vtkSmartPointer ca; vtkSmartPointer crossCursor;