]> Creatis software - creaMaracasVisu.git/commitdiff
Window and Colour level types changed to double
authorEsteban Correa <correa@EI-MO-349.creatis.insa-lyon.fr>
Mon, 4 Mar 2013 13:07:40 +0000 (14:07 +0100)
committerEsteban Correa <correa@EI-MO-349.creatis.insa-lyon.fr>
Mon, 4 Mar 2013 13:07:40 +0000 (14:07 +0100)
bbtk/src/bbmaracasvisuViewerNV.h

index afe8110e88be743a538fa7f1179495f0f26ad900..9d3eb7d0cba14bc1b2a3487ecf3a26babf77552e 100644 (file)
@@ -73,8 +73,8 @@ class /*BBTK_EXPORT*/ ViewerNV
   BBTK_DECLARE_INPUT(In, vtkImageData *);
   BBTK_DECLARE_INPUT(nTypeView, std::vector<int> );
   BBTK_DECLARE_INPUT(ColorFunction, vtkColorTransferFunction* );
-  BBTK_DECLARE_INPUT(WindowLevel, int );
-  BBTK_DECLARE_INPUT(ColorLevel, int );
+  BBTK_DECLARE_INPUT(WindowLevel, double );
+  BBTK_DECLARE_INPUT(ColorLevel, double );
   BBTK_DECLARE_INPUT(Obs1, vtkInteractorObserver *);
   BBTK_DECLARE_INPUT(Obs2, vtkInteractorObserver *);
   BBTK_DECLARE_INPUT(Obs3, vtkInteractorObserver *);
@@ -117,8 +117,8 @@ BBTK_DESCRIPTION("Viewer : N view configuration 2D and 3D");
   BBTK_INPUT(ViewerNV,In,"Input image",vtkImageData*,"");
   BBTK_INPUT(ViewerNV,nTypeView,"vector of viewer types (default 5 1 2 0): -1=Z_2DwithOutAxis 0=Z_2D 1=X_2D 2=Y_2D 3=Plane 4=Sphere 5=3D 6=3Dplane 7=3D_empty",std::vector<int>,"");
   BBTK_INPUT(ViewerNV,ColorFunction,"Optional: set a different color for the viewers 2D",vtkColorTransferFunction*,"");
-  BBTK_INPUT(ViewerNV,WindowLevel,"Optional: set a different Window level by using an other widget",int,"");
-  BBTK_INPUT(ViewerNV,ColorLevel,"Optional: set a different Color level by using an other widget",int,"");
+  BBTK_INPUT(ViewerNV,WindowLevel,"Optional: set a different Window level by using an other widget",double,"");
+  BBTK_INPUT(ViewerNV,ColorLevel,"Optional: set a different Color level by using an other widget",double,"");
   BBTK_INPUT(ViewerNV,Obs1,"Optional: set a different Color level by using an other widget",vtkInteractorObserver*,"");
   BBTK_INPUT(ViewerNV,Obs2,"Optional: set a different Color level by using an other widget",vtkInteractorObserver*,"");
   BBTK_INPUT(ViewerNV,Obs3,"Optional: set a different Color level by using an other widget",vtkInteractorObserver*,"");