2 // 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)
4 #ifndef __bbcreaMaracasVisuTubeFilter_h_INCLUDED__
5 #define __bbcreaMaracasVisuTubeFilter_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkProp3D.h>
11 #include <vtkRenderer.h>
12 #include <vtkTransform.h>
14 namespace bbcreaMaracasVisu
17 class MaracasTubeFilter
23 void SetvtkRenderer( vtkRenderer *render);
24 void SetlstPoints( std::vector<double> lstPointX , std::vector<double> lstPointY , std::vector<double> lstPointZ );
25 void SetlstRadius( std::vector<double> lstRadius );
28 vtkRenderer *renderer;
30 std::vector<double> lstPointX;
31 std::vector<double> lstPointY;
32 std::vector<double> lstPointZ;
33 std::vector<double> lstRadius;
37 class bbcreaMaracasVisu_EXPORT TubeFilter
39 public bbtk::AtomicBlackBox
41 BBTK_BLACK_BOX_INTERFACE(TubeFilter,bbtk::AtomicBlackBox);
43 // 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)
45 BBTK_DECLARE_INPUT(Renderer ,vtkRenderer*);
46 BBTK_DECLARE_INPUT(lstPointX,std::vector<double>);
47 BBTK_DECLARE_INPUT(lstPointY,std::vector<double>);
48 BBTK_DECLARE_INPUT(lstPointZ,std::vector<double>);
49 BBTK_DECLARE_INPUT(lstRadio ,std::vector<double>);
50 BBTK_DECLARE_INPUT(Colour ,std::vector<double>);
51 BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *);
52 BBTK_DECLARE_OUTPUT(OutAxis,vtkProp3D *);
53 BBTK_PROCESS(Process);
56 MaracasTubeFilter *tubefilter;
59 // 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)
63 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TubeFilter,bbtk::AtomicBlackBox);
64 BBTK_NAME("TubeFilter");
65 BBTK_AUTHOR("Info-Dev");
66 BBTK_DESCRIPTION("vtk Tube Filter");
67 BBTK_CATEGORY("actor");
68 BBTK_INPUT(TubeFilter,Renderer,"Renderer",vtkRenderer*,"");
69 BBTK_INPUT(TubeFilter,lstPointX,"lstPointX",std::vector<double>,"");
70 BBTK_INPUT(TubeFilter,lstPointY,"lstPointY",std::vector<double>,"");
71 BBTK_INPUT(TubeFilter,lstPointZ,"lstPointZ",std::vector<double>,"");
72 BBTK_INPUT(TubeFilter,lstRadio,"lstRadio",std::vector<double>,"");
73 BBTK_INPUT(TubeFilter,Colour,"Colour",std::vector<double>,"");
74 BBTK_INPUT(TubeFilter,Transform,"vtkTransform", vtkLinearTransform *,"");
75 BBTK_OUTPUT(TubeFilter,OutAxis,"Tube Actor",vtkProp3D *,"");
76 BBTK_END_DESCRIBE_BLACK_BOX(TubeFilter);
78 // 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)
81 // EO namespace bbcreaMaracasVisu
83 #endif // __bbcreaMaracasVisuTubeFilter_h_INCLUDED__