]> Creatis software - clitk.git/blobdiff - vv/vvToolStructureSetManager.h
Return nan when quering scalar value outside whole extent
[clitk.git] / vv / vvToolStructureSetManager.h
index db01935ba7c780f897ff56380b07015dc39f7f4f..6ea88085905c8c7e947c2520bbaee140964de05a 100644 (file)
@@ -46,8 +46,8 @@ class vvToolStructureSetManager:
   void UpdateStructureSetInTreeWidget(int index, clitk::DicomRT_StructureSet * s);
   void AddRoiInTreeWidget(clitk::DicomRT_ROI * roi, QTreeWidget * w);
 
-  static vvToolStructureSetManager * AddImage(vvSlicerManager * m, vvImage::Pointer image, double BG, bool modeBG=true);    
-  void AddImage(vvImage::Pointer image, std::string filename, double BG, bool modeBG=true);
+  static vvToolStructureSetManager * AddImage(vvSlicerManager * m, std::string name, vvImage::Pointer image, double BG, bool modeBG=true);    
+  void AddImage(vvImage * image, std::string filename, double BG, bool modeBG=true);
   void UpdateImage();
 
 public slots:
@@ -76,12 +76,13 @@ protected:
   bool mIsAllVisibleEnabled;
   int mNumberOfVisibleROI;
   int mNumberOfVisibleContourROI;
-  std::vector<clitk::DicomRT_StructureSet*       mStructureSetsList;
+  std::vector<clitk::DicomRT_StructureSet* >       mStructureSetsList;
   std::vector<vvStructureSetActor *>               mStructureSetActorsList;
   std::map<int, QTreeWidgetItem *>                 mMapStructureSetIndexToTreeWidget;
   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();