X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuDrawAxisTree3D.cxx;h=9af83d5eaab9a88e2b0cf40d3f9f6df3bf555de5;hb=bf403544fe90a939c6a988f2c06ead7f4738d545;hp=4c80882c463d011ece282b76e2c942879f823ca8;hpb=4970ac35d6d4bc3cea54e8e6033b34c01c3103fb;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx index 4c80882..9af83d5 100644 --- a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx +++ b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx @@ -1,5 +1,7 @@ #include "bbmaracasvisuDrawAxisTree3D.h" #include "bbcreaMaracasVisuPackage.h" +#include "vtkLinearTransform.h" + namespace bbcreaMaracasVisu { @@ -66,6 +68,11 @@ void DrawAxisTree3D::DrawOneAxis(int iGeneral,int numPoints, int iAxis) vtkactor->GetProperty()->SetColor( 1,0,0 ); vtkactor->GetProperty()->SetLineWidth( 3 ); + if ( bbGetInputTransform()!=NULL ) + { + vtkactor->SetUserTransform( bbGetInputTransform() ); + } + // Interface Update if (bbGetInputRenderer()!=NULL ) { @@ -141,7 +148,7 @@ void DrawAxisTree3D::bbUserConstructor() } -void DrawAxisTree3D::bbUserCopyConstructor() +void DrawAxisTree3D::bbUserCopyConstructor(bbtk::BlackBox::Pointer) { }