X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=8908b24004ca7fca8bae8c6f0e3d76fa5f9968a1;hb=266d6bcb4df9306d4c93cd0229cb59d7811d9825;hp=75d04976538a769ca679a17157b1d83c5a5e9479;hpb=2cdf69fc863433766e033b7ddbaf3c36d71cf43f;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 75d0497..8908b24 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -39,6 +39,9 @@ class vtkImageData; class vtkRenderer; class vtkMatrix4x4; class vvDicomSeriesSelector; +#if CLITK_USE_PACS_CONNECTION +class vvQPacsConnection; +#endif class vvSlicer; class QTreeWidget; @@ -54,6 +57,7 @@ class vvMainWindow: public vvMainWindowBase, void LoadImages(std::vector filenames, vvImageReader::LoadedImageType type); vvSlicerManager * AddImage(vvImage::Pointer image,std::string filename); void AddField(QString file,int index); + bool CheckAddedImage(int index, QString imageType); void AddOverlayImage(int index, std::vector fileNames, vvImageReader::LoadedImageType type); void AddFusionImage(int index, std::vector fileNames, vvImageReader::LoadedImageType type); void AddROI(int index, QString filename); @@ -69,7 +73,6 @@ 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(); @@ -91,8 +94,8 @@ public slots: void SliceImages(); void MergeImagesWithTime(); void OpenDicom(); -#ifdef vvPacsConnection - void PacsConnection(); +#if CLITK_USE_PACS_CONNECTION + void ConnectPacs(); #endif ///Open a vtkPolyData surface mesh and display it over the current image void OpenVTKContour(); @@ -196,8 +199,9 @@ private: vvHelpDialog *help_dialog; vvDocumentation *documentation; vvDicomSeriesSelector *dicomSeriesSelector; -#ifdef vvPacsConnection - vvPacsConnection *PacsConnection; + +#if CLITK_USE_PACS_CONNECTION + vvQPacsConnection *PacsConnection; #endif bool viewMode;