]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.cxx
#3468 Refres for 3D+t Visu
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuwxVtkBaseView_Info.cxx
index 81821f5c4adb4f43b4bd703db406f26e3b06f941..9a7c6600681ca7a618ac19a22b5d146b881272c0 100644 (file)
@@ -42,6 +42,12 @@ void wxVtkBaseView_Info::Process()
                        {
                                bbSetOutputImage( marimagedata->GetImageData() );                               
                        } // MarImageData
+                       std::vector<double> LstWindowColorLevel;
+                       LstWindowColorLevel.push_back( vtkbasedata->GetColorWindow() );
+                       LstWindowColorLevel.push_back( vtkbasedata->GetColorLevel() );
+                       bbSetOutputWindowColorLevel( LstWindowColorLevel );
+                       bbSetOutputInterpolation( vtkbasedata->GetInterpolate() );
+                       
                }  // BaseData
        }
 
@@ -55,8 +61,14 @@ void wxVtkBaseView_Info::bbUserSetDefaultValues()
 
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
-   bbSetOutputDirection(2);
-   bbSetOutputvtkRenderer(NULL);
+
+       std::vector<double> LstWindowColorLevel;
+       LstWindowColorLevel.push_back( 1000 );
+       LstWindowColorLevel.push_back( 500 );
+       bbSetOutputWindowColorLevel( LstWindowColorLevel );
+    bbSetOutputDirection(2);
+    bbSetOutputInterpolation(true);
+    bbSetOutputvtkRenderer(NULL);
   
 }
 //=====