]> Creatis software - clitk.git/commitdiff
Add a list of open images to correctly release memory when the tool is closed
authordsarrut <dsarrut>
Thu, 10 Mar 2011 15:58:54 +0000 (15:58 +0000)
committerdsarrut <dsarrut>
Thu, 10 Mar 2011 15:58:54 +0000 (15:58 +0000)
vv/vvToolStructureSetManager.h

index 240ca794ddafed0d00597f7177ed13e42618a4cc..6ea88085905c8c7e947c2520bbaee140964de05a 100644 (file)
@@ -82,6 +82,7 @@ protected:
   std::map<clitk::DicomRT_ROI*, QTreeWidgetItem *> mMapROIToTreeWidget;
   std::map<QTreeWidgetItem *, clitk::DicomRT_ROI*> mMapTreeWidgetToROI;
   std::vector<int> mLoadedROIIndex;
+  std::vector<vvImage::Pointer> mOpenedBinaryImage;
  
   void setCurrentSelectedROI(clitk::DicomRT_ROI * roi);
   void UpdateAllROIStatus();