--- /dev/null
+//=====
+// 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)
+//=====
+#ifndef __bbcreaMaracasVisuTubeFilter_h_INCLUDED__
+#define __bbcreaMaracasVisuTubeFilter_h_INCLUDED__
+#include "bbcreaMaracasVisu_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include <vtkProp3D.h>
+#include <vtkRenderer.h>
+#include <vtkTransform.h>
+
+namespace bbcreaMaracasVisu
+{
+
+ class MaracasTubeFilter
+ {
+ public:
+ MaracasTubeFilter();
+ ~MaracasTubeFilter();
+
+ void SetvtkRenderer( vtkRenderer *render);
+ void SetlstPoints( std::vector<double> lstPointX , std::vector<double> lstPointY , std::vector<double> lstPointZ );
+ void SetlstRadius( std::vector<double> lstRadius );
+ void Run();
+
+ vtkRenderer *renderer;
+
+ std::vector<double> lstPointX;
+ std::vector<double> lstPointY;
+ std::vector<double> lstPointZ;
+ std::vector<double> lstRadius;
+
+ };
+
+class bbcreaMaracasVisu_EXPORT TubeFilter
+ :
+ public bbtk::AtomicBlackBox
+{
+ BBTK_BLACK_BOX_INTERFACE(TubeFilter,bbtk::AtomicBlackBox);
+//=====
+// 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)
+//=====
+ BBTK_DECLARE_INPUT(Renderer ,vtkRenderer*);
+ BBTK_DECLARE_INPUT(lstPointX,std::vector<double>);
+ BBTK_DECLARE_INPUT(lstPointY,std::vector<double>);
+ BBTK_DECLARE_INPUT(lstPointZ,std::vector<double>);
+ BBTK_DECLARE_INPUT(lstRadio ,std::vector<double>);
+ BBTK_DECLARE_INPUT(Colour ,std::vector<double>);
+ BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *);
+ BBTK_DECLARE_OUTPUT(OutAxis,vtkProp3D *);
+ BBTK_PROCESS(Process);
+ void Process();
+
+ MaracasTubeFilter *tubefilter;
+
+//=====
+// 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)
+//=====
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(TubeFilter,bbtk::AtomicBlackBox);
+ BBTK_NAME("TubeFilter");
+ BBTK_AUTHOR("Info-Dev");
+ BBTK_DESCRIPTION("vtk Tube Filter");
+ BBTK_CATEGORY("actor");
+ BBTK_INPUT(TubeFilter,Renderer,"Renderer",vtkRenderer*,"");
+ BBTK_INPUT(TubeFilter,lstPointX,"lstPointX",std::vector<double>,"");
+ BBTK_INPUT(TubeFilter,lstPointY,"lstPointY",std::vector<double>,"");
+ BBTK_INPUT(TubeFilter,lstPointZ,"lstPointZ",std::vector<double>,"");
+ BBTK_INPUT(TubeFilter,lstRadio,"lstRadio",std::vector<double>,"");
+ BBTK_INPUT(TubeFilter,Colour,"Colour",std::vector<double>,"");
+ BBTK_INPUT(TubeFilter,Transform,"vtkTransform", vtkLinearTransform *,"");
+ BBTK_OUTPUT(TubeFilter,OutAxis,"Tube Actor",vtkProp3D *,"");
+ BBTK_END_DESCRIBE_BLACK_BOX(TubeFilter);
+//=====
+// 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)
+//=====
+}
+// EO namespace bbcreaMaracasVisu
+
+#endif // __bbcreaMaracasVisuTubeFilter_h_INCLUDED__
+