X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=1650571b26032c0766dfb7d1f7bbbb2db4aaa90a;hb=e494dd1b9280b0ecd93f017eb8d9774ee9b2a787;hp=12aaaf1a5f0b8d6f0d5a41d40f0d7bfe16092110;hpb=c2ab58be4d4d65c577a944df6849c70387b1095f;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 12aaaf1..1650571 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -64,6 +64,7 @@ class vvMainWindow: public vvMainWindowBase, void SaveCurrentStateAs(const std::string& stateFile); void ReadSavedStateFile(const std::string& stateFile); void LinkAllImages(); + QString Get4x4MatrixDoubleAsString(vtkSmartPointer matrix, const int precision=3); virtual void UpdateCurrentSlicer(); virtual QTabWidget * GetTab(); @@ -73,6 +74,7 @@ class vvMainWindow: public vvMainWindowBase, public slots: ///Allows the user to open and select various surfaces contained in a dicom-struct file + void AddDCStructContour(int index, QString file); void OpenDCStructContour(); ///Computes the midposition image of a 4D sequence with a VF and displays it void ComputeMidPosition(); @@ -193,7 +195,6 @@ private: QString GetSizeInBytes(unsigned long size); QString GetVectorDoubleAsString(std::vector vectorDouble); QString GetVectorIntAsString(std::vector vectorInt); - QString Get4x4MatrixDoubleAsString(vtkSmartPointer matrix); int GetSlicerIndexFromItem(QTreeWidgetItem* item); QTreeWidgetItem* GetItemFromSlicerManager(vvSlicerManager* sm); void SaveScreenshot(QVTKWidget *widget);