X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuDrawAxisTree3D.cxx;h=ab3ad3110cd05c73f03ac4a10ca7f862325b2e85;hb=4ed4922b791cc64cd91c56d5fa285b5cfedc0811;hp=3e9090d33e914a11dd3cc9c1a01f37eec2df3b90;hpb=145062607fdee243503f20245361ca21d88f31af;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx index 3e9090d..ab3ad31 100644 --- a/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx +++ b/bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx @@ -1,5 +1,6 @@ #include "bbmaracasvisuDrawAxisTree3D.h" #include "bbcreaMaracasVisuPackage.h" +#include "vtkLinearTransform.h" namespace bbcreaMaracasVisu { @@ -39,7 +40,7 @@ void DrawAxisTree3D::DrawOneAxis(int iGeneral,int numPoints, int iAxis) for (i=iGeneral;iInsertNextPoint( bbGetInputlstPointX()[i]*spc[0], bbGetInputlstPointY()[i]*spc[1], bbGetInputlstPointZ()[i]*spc[2] ); @@ -54,7 +55,7 @@ void DrawAxisTree3D::DrawOneAxis(int iGeneral,int numPoints, int iAxis) // color double r,g,b; - if ( (iAxis*3+1) < bbGetInputColour().size() ){ + if ( (iAxis*3+1) < (int)(bbGetInputColour().size()) ){ r = bbGetInputColour()[0+iAxis*3]; g = bbGetInputColour()[1+iAxis*3]; b = bbGetInputColour()[2+iAxis*3]; @@ -113,7 +114,7 @@ void DrawAxisTree3D::Process() } -void DrawAxisTree3D::bbUserConstructor() +void DrawAxisTree3D::bbUserSetDefaultValues() { bbSetInputiAxis(0); std::vector colour; @@ -147,13 +148,18 @@ void DrawAxisTree3D::bbUserConstructor() } -void DrawAxisTree3D::bbUserCopyConstructor(bbtk::BlackBox::Pointer) -{ -} - -void DrawAxisTree3D::bbUserDestructor() -{ -} + + //----------------------------------------------------------------- + void DrawAxisTree3D::bbUserInitializeProcessing() + { + } + + //----------------------------------------------------------------- + void DrawAxisTree3D::bbUserFinalizeProcessing() + { + } + + //----------------------------------------------------------------- } // EO namespace bbcreaMaracasVisu