]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.h
create clitkDD.h to avoid the heavy dependency on clitkCommon.h only for DD
[clitk.git] / common / clitkDicomRT_ROI.h
index 288d4d950e8a5c82dbb30c1f0c9ff2eb1ceee40b..c1cf9778f2ca13838137b43b4b0f441ce32e6bfe 100644 (file)
@@ -57,6 +57,8 @@ namespace clitk {
     
     void SetImage(vvImage * im);
     DicomRT_Contour* GetContour(int n);
+
+    double GetContourSpacing() const {return mZDelta;}
     
   protected:
     void ComputeMesh();
@@ -70,6 +72,8 @@ namespace clitk {
     vvImage::Pointer mImage;
     double mBackgroundValue;
     double mForegroundValue;
+    ///Spacing between two contours
+    double mZDelta;
   };
   //--------------------------------------------------------------------