]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.h
Added linked navigation (zoom and pan)
[clitk.git] / vv / vvMainWindow.h
index 60d37d6e3d39a128ea4f78705725a9e5ab180ccc..ffae061112b828f7bd3fc5db982183eb0394a32b 100644 (file)
@@ -54,6 +54,7 @@ class vvMainWindow: public vvMainWindowBase,
   void ShowLastImage();
 
   virtual void UpdateCurrentSlicer();
+  virtual QTabWidget * GetTab();
   //vvMainWindowToolInfo * GetInfoForTool();
 //   void AddRunningTool(vvToolCreatorBase * tool);
 
@@ -101,6 +102,7 @@ public slots:
   void UpdateWindowLevel();
   void SwitchWindowLevel();
   void UpdateLinkManager(std::string id, int slicer, double x, double y, double z, int temps);
+  void UpdateLinkedNavigation(std::string id, vvSlicerManager *sm);
   void AddLink(QString image1,QString image2);
   void RemoveLink(QString image1,QString image2);
   void ChangeImageWithIndexOffset(vvSlicerManager *sm, int slicer, int offset);
@@ -131,7 +133,7 @@ public slots:
   void SelectOverlayImage();
   void AddFusionImage();
 
-  void SetVFProperty(int subsampling,int scale,int lut);
+  void SetVFProperty(int subsampling,int scale,int lut, int width);
   void SetOverlayProperty(int color);
   void SetFusionProperty(int opacity,int colormap,double window,double level);
 
@@ -143,9 +145,6 @@ public slots:
   }
   void UpdateRenderWindows();
 
-// signals:
-//   void SlicerManagersHasChanged();
-
 private:
 
   //variables
@@ -185,6 +184,9 @@ private:
   // std::vector<vvToolCreatorBase*> mListOfRunningTool;
 
   static vvMainWindow * mSingleton;
+
+  int mCurrentTime;
+
 };
 
 #include "vvMainWindow.txx"