X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.h;h=c1cf9778f2ca13838137b43b4b0f441ce32e6bfe;hb=25e6b21607eea7d39428c109e4bc0ebe00f54ed9;hp=5a30df865490a5c9273f0fe569fdb074413886ef;hpb=0f41173383ece2736e285fb44e8b06569bd8d201;p=clitk.git diff --git a/common/clitkDicomRT_ROI.h b/common/clitkDicomRT_ROI.h index 5a30df8..c1cf977 100644 --- a/common/clitkDicomRT_ROI.h +++ b/common/clitkDicomRT_ROI.h @@ -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; }; //--------------------------------------------------------------------