X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=8908b24004ca7fca8bae8c6f0e3d76fa5f9968a1;hb=266d6bcb4df9306d4c93cd0229cb59d7811d9825;hp=d7bf2ed2bbf09e367804201b041a2a437be28b3a;hpb=b65dbecbe7f7c5cfb8b746ebd4d63a96abc8cb59;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index d7bf2ed..8908b24 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -39,7 +39,7 @@ class vtkImageData; class vtkRenderer; class vtkMatrix4x4; class vvDicomSeriesSelector; -#ifdef CLITK_USE_PACS_CONNECTION +#if CLITK_USE_PACS_CONNECTION class vvQPacsConnection; #endif class vvSlicer; @@ -57,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); @@ -93,7 +94,7 @@ public slots: void SliceImages(); void MergeImagesWithTime(); void OpenDicom(); -#ifdef CLITK_USE_PACS_CONNECTION +#if CLITK_USE_PACS_CONNECTION void ConnectPacs(); #endif ///Open a vtkPolyData surface mesh and display it over the current image @@ -199,7 +200,7 @@ private: vvDocumentation *documentation; vvDicomSeriesSelector *dicomSeriesSelector; -#ifdef CLITK_USE_PACS_CONNECTION +#if CLITK_USE_PACS_CONNECTION vvQPacsConnection *PacsConnection; #endif