BBTK_DECLARE_INPUT(lstPointY,std::vector<double>);
BBTK_DECLARE_INPUT(lstPointZ,std::vector<double>);
BBTK_DECLARE_INPUT(Colour,std::vector<double>);
+ BBTK_DECLARE_INPUT(Opacity,double);
BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *);
BBTK_DECLARE_OUTPUT(Out,vtkProp3D *);
void Process();
private:
- bool firsttime;
- vtkPolyData *mallData;
- vtkActor *mvtkactor;
+ bool firsttime;
+ vtkPolyData *mallData;
+ vtkActor *mvtkactor;
vtkPolyDataMapper *polydatamapper;
};
BBTK_INPUT(DrawAxe3D,lstPointY,"list of point Y",std::vector<double>,"");
BBTK_INPUT(DrawAxe3D,lstPointZ,"list of point Z",std::vector<double>,"");
BBTK_INPUT(DrawAxe3D,Colour,"Color of the line R(0..1) G(0..1) B(0..1) ",std::vector<double>,"colour");
+ BBTK_INPUT(DrawAxe3D,Opacity,"Axe opacity property ",double,"intensity");
BBTK_INPUT(DrawAxe3D,Transform,"vtkTransform", vtkLinearTransform *,"");
BBTK_OUTPUT(DrawAxe3D,Out,"Actor",vtkProp3D*,"");
BBTK_END_DESCRIBE_BLACK_BOX(DrawAxe3D);