BBTK_DECLARE_INPUT(lstPointY , std::vector<double>);
BBTK_DECLARE_INPUT(lstPointZ , std::vector<double>);
BBTK_DECLARE_INPUT(lstRadio , std::vector<double>);
+ BBTK_DECLARE_INPUT(lstRadioLaw , int);
BBTK_DECLARE_INPUT(Colour , std::vector<double>);
BBTK_DECLARE_INPUT(ColourLaw , int);
BBTK_DECLARE_INPUT(Transform , vtkLinearTransform *);
private:
std::vector<vtkActor*> vecVtkActors;
+ std::vector< vtkDoubleArray* > vecTubeRadiosArray;
+
void DrawOneTube(int iGeneral,int numPoints, int iTube);
void SetGraphicProperties();
+ void SetRadioTube(int iGeneral,int numPoints, int iTube);
int oldLstSize;
//=====
BBTK_INPUT(TubeTreeFilter,lstPointX,"lstPointX",std::vector<double>,"");
BBTK_INPUT(TubeTreeFilter,lstPointY,"lstPointY",std::vector<double>,"");
BBTK_INPUT(TubeTreeFilter,lstPointZ,"lstPointZ",std::vector<double>,"");
- BBTK_INPUT(TubeTreeFilter,lstRadio,"lstRadio",std::vector<double>,"");
+ BBTK_INPUT(TubeTreeFilter,lstRadio,"lstRadio (default 1) ",std::vector<double>,"");
+ BBTK_INPUT(TubeTreeFilter,lstRadioLaw,"0(default) radio for all, 1 radio by segment, 2 radio by point",int,"");
BBTK_INPUT(TubeTreeFilter,Colour,"Colour",std::vector<double>,"");
- BBTK_INPUT(TubeTreeFilter,ColourLaw,"ColorLaw 1(default) solid color, 2 color by segment, 3 color for each point",int,"");
+ BBTK_INPUT(TubeTreeFilter,ColourLaw,"ColorLaw 1(default) solid color, 2 color by segment, 3 color for each point",int,"");
BBTK_INPUT(TubeTreeFilter,Transform,"vtkTransform", vtkLinearTransform *,"");
BBTK_INPUT(TubeTreeFilter,iTube,"iTube",int,"");
BBTK_INPUT(TubeTreeFilter,Opacity,"Opacity",double,"");
- BBTK_OUTPUT(TubeTreeFilter,OutTube,"Tube[iTube]",vtkProp3D *,"");
-
+ BBTK_OUTPUT(TubeTreeFilter,OutTube,"Tube[iTube]",vtkProp3D *,"");
BBTK_END_DESCRIBE_BLACK_BOX(TubeTreeFilter);
//=====