X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=6e5b0412d68e9ad339031d156dc4e2b48d520b62;hb=14db82d8e865a2ea41a34e45c33ccda2f8dcd131;hp=015a468924ec6a1e9836d24aeae884352cd781b5;hpb=ce1141cd3b333bd25fd79abe933208d322b5a9e3;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 015a468..6e5b041 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -57,7 +57,8 @@ class vvMainWindow: public vvMainWindowBase, void AddOverlayImage(int index, std::vector fileNames, vvImageReader::LoadedImageType type); void AddFusionImage(int index, QString filename); void AddROI(int index, QString filename); - ///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(); @@ -121,9 +122,11 @@ public slots: void UpdateSlicingPreset(); void SwitchWindowLevel(); void ApplyWindowLevelToAllImages(); + void ApplyWindowToSetOfImages(double window, unsigned int indexMin, unsigned int indexMax); + void ApplyLevelToSetOfImages(double level, unsigned int indexMin, unsigned int indexMax); void UpdateLinkManager(std::string id, int slicer, double x, double y, double z, int temps); void UpdateLinkedNavigation(std::string id, vvSlicerManager *sm, vvSlicer* refSlicer); - void AddLink(QString image1,QString image2); + void AddLink(QString image1,QString image2,bool fromPanel = true); void RemoveLink(QString image1,QString image2); void ChangeImageWithIndexOffset(vvSlicerManager *sm, int slicer, int offset);