]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.h
correct bugs related to new window/level option
[clitk.git] / vv / vvSlicer.h
index e647a19ac8ea768390a64a94b97cd9332a5318d8..7746331a21d3ad2f337f63bdb7df79b44c011dab 100644 (file)
@@ -81,7 +81,7 @@ public:
   vtkActor* GetVFActor() ;
   vtkCornerAnnotation* GetAnnotation();
     
-  void SetFusion(vvImage::Pointer inputFusion, bool fusionSequenceFlag = false);
+  void SetFusion(vvImage::Pointer inputFusion, int fusionSequenceCode = -1);
   vvImage::Pointer GetFusion() {
     return mFusion;
   }
@@ -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,7 +220,7 @@ protected:
 
   vvLandmarks* mLandmarks;
 
-  bool mFusionSequenceFlag; //flag used to indicate whether the 'fusion' data is actually a 'fusionSequence'
+  int mFusionSequenceCode; //-1: not involved in a fusion sequence, 0: main sequence (CT), 1: secondary sequence (US)
 
   //                         __________ Image coordinates accounting for spacing and origin
   //                            Λ  Λ