X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_Contour.h;h=88100f4f9ee213d40ce2c7d869c4251fdac77e14;hb=8ba069c89cddf44e9bd529b781bb5ddfd8d21adf;hp=8596702eeb84edb2f3e086601b968c3e23cc1449;hpb=b9db5886a4d8e50a6940d7ceea622de32cfb230a;p=clitk.git diff --git a/common/clitkDicomRT_Contour.h b/common/clitkDicomRT_Contour.h index 8596702..88100f4 100644 --- a/common/clitkDicomRT_Contour.h +++ b/common/clitkDicomRT_Contour.h @@ -21,11 +21,11 @@ #define CLITKDICOMRT_CONTOUR_H #include "clitkCommon.h" -#include "clitkDicomRT_Contour.h" #include #include #include #include +#include namespace clitk { @@ -47,8 +47,9 @@ protected: void ComputeMesh(); unsigned int mNbOfPoints; std::string mType; - vtkPoints * mData; - vtkPolyData * mMesh; + vtkSmartPointer mData; + vtkSmartPointer mMesh; + vtkSmartPointer mPoints; bool mMeshIsUpToDate; ///Z location of the contour double mZ;