X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvSlicerManager.h;h=ed118f534f7357cc35e8c763704ce4b63d89bbd6;hb=a24b0a699298efe54b53c53cb215455fecd633fe;hp=5bbc3c7343f239c5eef45e7e7fdd1a99f204a7dc;hpb=1f26ebfad96c3945b15cf4872aa0f0bdb789c800;p=clitk.git diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index 5bbc3c7..ed118f5 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -58,9 +58,8 @@ class vvSlicerManager : public QObject { return mLastError; } - bool SetImage(std::string filename,LoadedImageType type, int n=0); + bool SetImage(std::string filename,LoadedImageType type, int n=0, unsigned int slice=0); void SetImage(vvImage::Pointer image); - void SetExtractedImage(std::string filename, vvImage::Pointer image, int slice); bool SetImages(std::vector filenames, LoadedImageType type, int n=0); bool SetOverlay(std::string filename, int dim, std::string component); @@ -123,10 +122,10 @@ class vvSlicerManager : public QObject { void SetFusionColorMap(int colorMap) { mFusionColorMap = colorMap; } - void SetFusionWindow(int window) { + void SetFusionWindow(double window) { mFusionWindow = window; } - void SetFusionLevel(int level) { + void SetFusionLevel(double level) { mFusionLevel = level; }