X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.h;h=7746331a21d3ad2f337f63bdb7df79b44c011dab;hb=ae984dccd4524698b6911c68d73c0a3846d7c278;hp=793b5f38bba477c6ea96e83ec917af186496a785;hpb=1548a47199250d3819961adb37becac65bc72f3c;p=clitk.git diff --git a/vv/vvSlicer.h b/vv/vvSlicer.h index 793b5f3..7746331 100644 --- a/vv/vvSlicer.h +++ b/vv/vvSlicer.h @@ -81,7 +81,7 @@ public: vtkActor* GetVFActor() ; vtkCornerAnnotation* GetAnnotation(); - void SetFusion(vvImage::Pointer inputFusion); + void SetFusion(vvImage::Pointer inputFusion, int fusionSequenceCode = -1); vvImage::Pointer GetFusion() { return mFusion; } @@ -100,7 +100,7 @@ public: } void SetLandmarks(vvLandmarks* landmarks); - void SetTSlice(int t); + void SetTSlice(int t, bool updateLinkedImages = true); void SetFusionSequenceTSlice(int t); @@ -206,6 +206,8 @@ public: } void SetVFColor(double r, double g, double b); + //necessary to flag the secondary sequence + void SetFusionSequenceCode(int code) {mFusionSequenceCode=code;} protected: vvSlicer(); ~vvSlicer(); @@ -218,6 +220,8 @@ protected: vvLandmarks* mLandmarks; + int mFusionSequenceCode; //-1: not involved in a fusion sequence, 0: main sequence (CT), 1: secondary sequence (US) + // __________ Image coordinates accounting for spacing and origin // Λ Λ // | | vvImage.GetTransform()