X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.h;h=f0be23d74e47777647dc6714cf512415ec2193a9;hb=2300716104b55267692efc2c0e506b3c5c45df38;hp=811735218d3327e982d873d71db1d301cc942dc0;hpb=6c46b5b1d02d65fdb3fdccc8174346b49a05a32f;p=clitk.git diff --git a/common/clitkDicomRT_ROI.h b/common/clitkDicomRT_ROI.h index 8117352..f0be23d 100644 --- a/common/clitkDicomRT_ROI.h +++ b/common/clitkDicomRT_ROI.h @@ -60,7 +60,8 @@ public: DicomRT_Contour* GetContour(int n); // Compute a vtk mesh from the dicom contours - void ComputeMesh(); + void ComputeMeshFromContour(); + void ComputeContoursFromImage(); // Indicate if the mesh is uptodate according to the dicom void SetDicomUptodateFlag(bool b) { m_DicomUptodateFlag = b; } @@ -91,6 +92,7 @@ protected: #if GDCM_MAJOR_VERSION == 2 gdcm::Item * mItemInfo; gdcm::Item * mItemContour; + gdcm::SmartPointer mContoursSequenceOfItems; #endif private: