]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/src/bbwxvtkViewer3D.h
Changes to define the background color of the Viewer3D
[bbtk.git] / packages / wxvtk / src / bbwxvtkViewer3D.h
index b3fb40f926307a1b96105cbb12a4cb57c1983dc7..25dc71231fad950babc9d346cc61ea3f70c08de9 100644 (file)
@@ -107,6 +107,7 @@ namespace bbwxvtk
     BBTK_DECLARE_INPUT(Obs4, vtkInteractorObserver *);
     BBTK_DECLARE_INPUT(Obs5, vtkInteractorObserver *);
     BBTK_DECLARE_INPUT(Stereo, bool);
+    BBTK_DECLARE_INPUT(BackgroundColor,std::vector<double>);
     BBTK_DECLARE_OUTPUT(Renderer,vtkRenderer*);
     BBTK_DECLARE_OUTPUT(Interactor,wxVTKRenderWindowInteractor*);
     BBTK_PROCESS(Process);
@@ -130,6 +131,7 @@ namespace bbwxvtk
   BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
   BBTK_DESCRIPTION("3D Viewer widget (vtk)");
   BBTK_CATEGORY("viewer");
+  BBTK_INPUT(Viewer3D,BackgroundColor,"Render background's color",std::vector<double>,"");
   BBTK_INPUT(Viewer3D,In1,"Input actor",vtkProp3D *,"");
   BBTK_INPUT(Viewer3D,In2,"Input actor",vtkProp3D *,"");
   BBTK_INPUT(Viewer3D,In3,"Input actor",vtkProp3D *,"");