X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuDrawAxisTree3D.cxx;h=00fae1748ba908cee2709fc7467027938bf880a8;hb=a7017a8ade695bd14a4c7ee70b197d63b5e76765;hp=e43b35b960c6ee3e22875114510ef69d1c524038;hpb=bb69ea7be3f8baa4122fb51d04b4ec6ce906c809;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx index e43b35b..00fae17 100644 --- a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx +++ b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx @@ -44,7 +44,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(DrawAxisTree3D,bbtk::AtomicBlackBox); void DrawAxisTree3D::DrawOneAxis(int iGeneral,int numPoints, int iAxis) { -printf("EED DrawAxisTree3D::DrawOneAxis Start \n"); vtkPolyData *polydata = vtkPolyData::New( ); vtkPolyDataMapper *polydatamapper = vtkPolyDataMapper::New(); vtkActor *vtkactor = vtkActor::New(); @@ -160,7 +159,6 @@ polyline->GetPointIds()->InsertNextId(i-iGeneral); g = bbGetInputColour()[1+iPoint*3]*255.0; b = bbGetInputColour()[2+iPoint*3]*255.0; //colors->SetTuple3(iPoint,r,g,b); -printf("EED DrawAxisTree3D::DrawOneAxis iPoint=%d size=%d rgb=%f% f% f \n", iPoint , bbGetInputColour().size() , r,g,b); colors->InsertNextTuple3(r,g,b); } polydata->GetCellData()->SetScalars(colors); @@ -168,6 +166,7 @@ printf("EED DrawAxisTree3D::DrawOneAxis iPoint=%d size=%d rgb=%f% f% f \n", } // Law 3 color for each point + vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWidth() ); vtkactor->GetProperty()->SetOpacity( bbGetInputOpacity() ); @@ -181,7 +180,6 @@ printf("EED DrawAxisTree3D::DrawOneAxis iPoint=%d size=%d rgb=%f% f% f \n", { bbGetInputRenderer()->AddActor( vtkactor ); } -printf("EED DrawAxisTree3D::DrawOneAxis End \n"); } @@ -235,6 +233,7 @@ void DrawAxisTree3D::Process() for (iActor=0 ; iActorGetProperty()->SetOpacity( bbGetInputOpacity() ); + vecVtkActors[iActor]->GetProperty()->SetLineWidth( bbGetInputLineWidth() ); } }