X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolStructureSetManager.h;h=0cd747345e302d85df99a1b0055040cfa4ba9e77;hb=268aa9a5e0a301987a01952522a1cfb3c2fbb152;hp=842147325772d915edbf052582dcba7958fe60b7;hpb=cb4f548b5df0172cc7fad02345d7eb3d7a4fa3aa;p=clitk.git diff --git a/vv/vvToolStructureSetManager.h b/vv/vvToolStructureSetManager.h index 8421473..0cd7473 100644 --- a/vv/vvToolStructureSetManager.h +++ b/vv/vvToolStructureSetManager.h @@ -42,18 +42,25 @@ class vvToolStructureSetManager: static void Initialize(); virtual void InputIsSelected(vvSlicerManager *m); - int addStructureSet(clitk::DicomRT_StructureSet * mStructureSet); - void updateStructureSetInTreeWidget(int index, clitk::DicomRT_StructureSet * s); - void addRoiInTreeWidget(clitk::DicomRT_ROI * roi, QTreeWidgetItem * w); + int AddStructureSet(clitk::DicomRT_StructureSet * mStructureSet); + void UpdateStructureSetInTreeWidget(int index, clitk::DicomRT_StructureSet * s); + void AddRoiInTreeWidget(clitk::DicomRT_ROI * roi, QTreeWidget * w); public slots: virtual void apply(); - void open(int type); + void Open(int type); void LeftButtonReleaseEvent(int slicer); - void openBinaryImage(); - void selectedItemChangedInTree(); - void visibleROIToggled(bool b); - void opacityChanged(int v); + void OpenBinaryImage(); + void SelectedItemChangedInTree(); + void VisibleROIToggled(bool b); + void VisibleContourROIToggled(bool b); + void OpacityChanged(int v); + void ChangeColor(); + void ChangeContourColor(); + void ChangeContourWidth(int n); + void AllVisibleROIToggled(bool b); + void AllVisibleContourROIToggled(bool b); + void AllOpacityChanged(int v); protected: Ui::vvToolStructureSetManager ui; @@ -71,6 +78,8 @@ public slots: std::map mMapStructureSetIndexToTreeWidget; std::map mMapROIToTreeWidget; std::map mMapTreeWidgetToROI; + bool mIsAllVisibleEnabled; + int mNumberOfVisibleROI; }; // end class vvToolStructureSetManager //------------------------------------------------------------------------------