X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=9253fa07a21a0f41853300b869d34c393fa5ed3f;hb=46d6314164abf444b420f07539b8f7cbd817f88e;hp=7911a757a7afee5645797edf64e297a031e69710;hpb=407e3715e0917fcbb1556342f6ac9ac2ead0e476;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 7911a75..9253fa0 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -54,20 +54,22 @@ 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, QString filename); + void AddFusionImage(int index, std::vector fileNames, vvImageReader::LoadedImageType type); void AddROI(int index, QString filename); + //Process the sequence for fusion: void AddFusionSequence(int index, std::vector fileNames, vvImageReader::LoadedImageType type); - ///Adds a mesh to a SlicerManager, with optional warping by vector field + void AddLandmarks(int index, std::vector); +///Adds a mesh to a SlicerManager, with optional warping by vector field void AddContour(int image_index, vvMesh::Pointer contour, bool propagation); ///This is used to show an image when opened or computed void ShowLastImage(); 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(); @@ -159,7 +161,7 @@ public slots: void SelectFusionImage(); //select the file(s) from the disk containing the image sequence to fuse void SelectFusionSequence(); - void SelectFusionSequenceTemporalSignal(); + void SelectFusionSequenceCorrespondances(); void ResetTransformationToIdentity(); @@ -169,6 +171,7 @@ public slots: void SetFusionSequenceProperty(int fusionSequenceFrameIndex, bool spatialSyncFlag, unsigned int fusionSequenceNbFrames, bool temporalSyncFlag); void GoToCursor(); + void GoToLandmark(); void PlayPause(); void PlayNext(); void ChangeFrameRate(int rate) {