]> Creatis software - clitk.git/blobdiff - vv/vvImageContour.h
Add Depth option for contours and overlays
[clitk.git] / vv / vvImageContour.h
index d35ce4bd2255b5aeba33ecd203ac94853cffdce6..2c92abb07551028e6d0794dd99379ee2ceb6ec6f 100644 (file)
@@ -43,6 +43,7 @@ public:
   void SetLineWidth(double w);
   void SetImage(vvImage * image);
   void SetPreserveMemoryModeEnabled(bool b);
+  void SetDepth(double d) { mDepth = d; }
 
 protected:
   vvSlicer * mSlicer;
@@ -54,6 +55,7 @@ protected:
   bool mHiddenImageIsUsed;
   vvImage * mHiddenImage;
   bool mDisplayModeIsPreserveMemory;
+  double mDepth;
 
   // For preserveMemory mode
   std::vector<vtkSmartPointer<vtkActor> > mSquaresActorList;
@@ -79,6 +81,7 @@ protected:
 private:
   vvImageContour();
   ~vvImageContour();
+    int mPreviousTslice;
 }; // end class vvImageContour
 //------------------------------------------------------------------------------