mvtkactor->GetProperty()->SetColor( bbGetInputColour()[0],
bbGetInputColour()[1],
bbGetInputColour()[2] );
-
+ //EC Axe Opacity property added
+ ///Default Values
+ double opacity=bbGetInputOpacity();
+ mvtkactor->GetProperty()->SetOpacity( opacity );
if ( bbGetInputTransform()!=NULL )
{
mvtkactor->SetUserTransform( bbGetInputTransform() );
colour.push_back(0.0);
colour.push_back(0.0);
bbSetInputColour(colour);
+ bbSetInputOpacity(1.0);
}
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 *);
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);