X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolStructureSetManager.h;h=0f5ffec81a4c6d413fc0a5a85833c59153fbf6d4;hb=0d3391305e240b2cd0be9bc8dc574c498c087a93;hp=7ccb50f89d7ad1de34f43def7af1f677c00245d9;hpb=b9db5886a4d8e50a6940d7ceea622de32cfb230a;p=clitk.git diff --git a/vv/vvToolStructureSetManager.h b/vv/vvToolStructureSetManager.h index 7ccb50f..0f5ffec 100644 --- a/vv/vvToolStructureSetManager.h +++ b/vv/vvToolStructureSetManager.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ #ifndef VVTOOLSTRUCTURESETMANAGER_H #define VVTOOLSTRUCTURESETMANAGER_H @@ -26,6 +26,8 @@ #include "ui_vvToolStructureSetManager.h" #include "vvROIActor.h" +#include + class vvStructureSetActor; //------------------------------------------------------------------------------ @@ -37,7 +39,7 @@ class vvToolStructureSetManager: Q_OBJECT public: vvToolStructureSetManager(vvMainWindowBase* parent=0, Qt::WindowFlags f=0, vvSlicerManager * c = NULL); - ~vvToolStructureSetManager(); + virtual ~vvToolStructureSetManager(); static void Initialize(); virtual void InputIsSelected(vvSlicerManager *m); @@ -61,6 +63,7 @@ public slots: void ChangeColor(); void ChangeContourColor(); void ChangeContourWidth(int n); + void ChangeDepth(int n); void AllVisibleROIToggled(int b); void AllVisibleContourROIToggled(bool b); void ReloadCurrentROI(); @@ -76,9 +79,9 @@ protected: bool mIsAllVisibleEnabled; int mNumberOfVisibleROI; int mNumberOfVisibleContourROI; - std::vector mStructureSetsList; - std::vector mStructureSetActorsList; - std::map mMapStructureSetIndexToTreeWidget; + std::vector mStructureSetsList; + std::vector< QSharedPointer > mStructureSetActorsList; + std::vector< QSharedPointer > mTreeWidgetList; std::map mMapROIToTreeWidget; std::map mMapTreeWidgetToROI; std::vector mLoadedROIIndex;