X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuDrawAxe3D.h;h=a96ad4fb24928cda456fda4bcc13e177c7ce2c8f;hb=738e5bef4c52a1f25013e598a008a81f20fc6f63;hp=6058c470195d320a1bac00ad8983f72765b3c3f5;hpb=145062607fdee243503f20245361ca21d88f31af;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuDrawAxe3D.h b/bbtk/src/bbmaracasvisuDrawAxe3D.h index 6058c47..a96ad4f 100644 --- a/bbtk/src/bbmaracasvisuDrawAxe3D.h +++ b/bbtk/src/bbmaracasvisuDrawAxe3D.h @@ -6,6 +6,7 @@ #include "vtkRenderer.h" #include "vtkPolyData.h" +#include "vtkPolyDataMapper.h" #include "vtkLinearTransform.h" namespace bbcreaMaracasVisu @@ -16,14 +17,6 @@ class /*BBTK_EXPORT*/ DrawAxe3D public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(DrawAxe3D,bbtk::AtomicBlackBox); -//================================================================== -/// User callback called in the box contructor -virtual void bbUserConstructor(); -/// User callback called in the box copy constructor -virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer); -/// User callback called in the box destructor -virtual void bbUserDestructor(); -//================================================================== BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_INPUT(lstPointX,std::vector); BBTK_DECLARE_INPUT(lstPointY,std::vector); @@ -37,9 +30,10 @@ virtual void bbUserDestructor(); void Process(); private: - bool firsttime; - vtkPolyData *mallData; - vtkActor *mvtkactor; + bool firsttime; + vtkPolyData *mallData; + vtkActor *mvtkactor; + vtkPolyDataMapper *polydatamapper; };