X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtk2DBaseView.h;h=6903109de2e6cd1fcc4fde3f8d6eee71c649a8e7;hb=5380f9e66daf440f27f33bb060e5ae1a646612cd;hp=749401273e0ba6df5239bcc58ce17eb3619d45a1;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.h index 7494012..6903109 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.h @@ -6,6 +6,7 @@ //class vtkInteractorStyleBaseView; #include "vtkInteractorStyleBaseView.h" +#include "vtkInteractorStyleBaseView2D.h" class vtkInfoTextImage; class vtkInfoTextImageInteractor; @@ -34,12 +35,20 @@ public: virtual void TransformCoordinate_spacing_ModelToView(double &X,double &Y, double &Z); virtual void GetSpacing(double spc[3]); + void setColorTransferFunction(vtkColorTransferFunction* colortable); + + void setWindowLevel(double level); + + void setColorLevel(double level); + virtual int GetDirection(); + private: vtkBaseData *_vtkbasedata; vtkInfoTextImage *_vtkIinfoTextImage; vtkInfoTextImageInteractor *_vtkIinfoTextImageInteractor; + vtkInteractorStyleBaseView2D * _style2D; protected: