X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkBaseData.h;h=09e36bd479dc5501ced2fb3f0697a03fbb99d046;hb=70a5e2bac1fe33d240ff5632d65a915269ff69e3;hp=df0a4e68bb83f0d00a790f4c5e9fae4a812f90ee;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h index df0a4e6..09e36bd 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h @@ -27,17 +27,18 @@ #define VTKBASEDATA_H_ #include "marTypes.h" - -#include "marImageData.h" +#include "vtkCommand.h" #include "vtkImageData.h" +#include "marImageData.h" + class creaMaracasVisu_EXPORT vtkBaseData { public: vtkBaseData(); - virtual ~vtkBaseData(); + virtual ~vtkBaseData(); vtkImageData* GetImageData(); marImageData* GetMarImageData(); - void SetMarImageData(marImageData *marimagedata); + void SetMarImageData(marImageData *marimagedata); virtual void Configure(); double GetZ(); void SetZ(double z); @@ -45,18 +46,24 @@ public: int GetT(); void SetT(double t); - void SetColorWindow(double colorWindow); - void SetColorLevel(double colorLevel); - double GetColorWindow(); - double GetColorLevel(); + void SetColorWindow(double colorWindow); + void SetColorLevel(double colorLevel); + double GetColorWindow(); + double GetColorLevel(); + void AddObserver(int eventNumber, vtkCommand *observer); + bool GetInterpolate(); + void SetInterpolate(bool value); protected: marImageData *_marImageData; double _z; int _t; - double _colorWindow; double _colorLevel; + bool _interpolate; + vtkObject* _observable; +private: + }; #endif /*VTKBASEDATA_H_*/