]> Creatis software - clitk.git/blobdiff - vv/vvSlicerManager.h
VV: added links to Read/Save state
[clitk.git] / vv / vvSlicerManager.h
index 1824524ade043e8a4fb8a74a05ade831bbfe43fa..dcac673216f1af7eef36b8394dfa32bb6dbbf8f9 100644 (file)
@@ -99,7 +99,7 @@ class vvSlicerManager : public QObject {
   vvImage::Pointer GetVF()     { return mVF; }
   int GetType()                { return mType; }
   void SetId(std::string id)   { mId = id; }
-  std::string GetId()          { return mId; }
+  std::string GetId()  const        { return mId; }
   int GetDimension() {
     if (mImage) return mImage->GetNumberOfDimensions();
     else return -1;
@@ -193,6 +193,10 @@ class vvSlicerManager : public QObject {
     mLinkedId.remove(oldId); 
   }
   
+  std::list<std::string> GetLinks() const {
+    return mLinkedId;
+  }
+  
   bool IsLinked() {
     return mLinkedId.size() > 0;
   }