]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.h
make difference between 2D and 3D with a single slice image (Dim obtained from ITK...
[clitk.git] / common / clitkDicomRT_ROI.h
index 5a30df865490a5c9273f0fe569fdb074413886ef..c1cf9778f2ca13838137b43b4b0f441ce32e6bfe 100644 (file)
@@ -52,7 +52,13 @@ namespace clitk {
     double GetBackgroundValueLabelImage() const;
     void SetBackgroundValueLabelImage(double bg);
     
+    double GetForegroundValueLabelImage() const;
+    void SetForegroundValueLabelImage(double bg);
+    
     void SetImage(vvImage * im);
+    DicomRT_Contour* GetContour(int n);
+
+    double GetContourSpacing() const {return mZDelta;}
     
   protected:
     void ComputeMesh();
@@ -65,6 +71,9 @@ namespace clitk {
     bool mMeshIsUpToDate;
     vvImage::Pointer mImage;
     double mBackgroundValue;
+    double mForegroundValue;
+    ///Spacing between two contours
+    double mZDelta;
   };
   //--------------------------------------------------------------------