]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx
2021 Feature Line width in Draw3DTree
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuDrawAxisTree3D.cxx
index 5bfd80b857174e037f4925e28d75f4281e7b4d55..cdabc926eb9d63c2f1f361366b2e452b1a8d9350 100644 (file)
@@ -95,7 +95,7 @@ void DrawAxisTree3D::DrawOneAxis(int iGeneral,int numPoints, int iAxis)
        }
 
        vtkactor->GetProperty()->SetColor( r,g,b );
-       vtkactor->GetProperty()->SetLineWidth( 0.5 );
+       vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWidth() );
        vtkactor->GetProperty()->SetOpacity( bbGetInputOpacity() );
 
        if ( bbGetInputTransform()!=NULL )
@@ -201,6 +201,7 @@ void DrawAxisTree3D::bbUserSetDefaultValues()
 
      bbSetInputColour(colour);
      bbSetInputOpacity(1);
+     bbSetInputLineWidth(0.5);
      bbSetInputColourLaw(1);
 
 }