]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.h
#2817 creaVtk Feature New Normal - avoid vtk messages OutputWindwo box (vtkOutputWindow)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneWidget.h
index 0117074198725a8192d8308a56dcbbc65f8e8780..08b6413f819c1ceab072fda17eee37ed1f7a8e6e 100644 (file)
@@ -41,6 +41,8 @@ class bbcreaVtk_EXPORT PlaneWidget
   BBTK_DECLARE_INPUT(Resolution,int);
   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
   BBTK_DECLARE_OUTPUT(Out,vtkDataSet*);
+  BBTK_DECLARE_OUTPUT(Center,std::vector<double>);
+  BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
   BBTK_PROCESS(Process);
   void Process();
 
@@ -56,13 +58,20 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneWidget,bbtk::AtomicBlackBox);
 BBTK_NAME("PlaneWidget");
 BBTK_AUTHOR("ED at Info-Dev Creatis");
 BBTK_DESCRIPTION("No Description.");
+
 BBTK_CATEGORY("empty");
+
   BBTK_INPUT(PlaneWidget,Active,"Active widget (false default)",bool,"");
   BBTK_INPUT(PlaneWidget,In,"Reference Image",vtkImageData*,"");
   BBTK_INPUT(PlaneWidget,Resolution,"Resolution (60 default)",int,"");
   BBTK_INPUT(PlaneWidget,Renderer,"vtkRenderer",vtkRenderer*,"");
+
   BBTK_OUTPUT(PlaneWidget,Out,"Dynamic plane result from vtkPlaneSource",vtkDataSet*,"");
+  BBTK_OUTPUT(PlaneWidget,Center,"Center of the plane",std::vector<double>,"");
+  BBTK_OUTPUT(PlaneWidget,Normal,"Normal of the plane",std::vector<double>,"");
+
 BBTK_END_DESCRIBE_BLACK_BOX(PlaneWidget);
+
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //=====