X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkBaseData.h;h=6870e0189568da85d478ea4509bc77b65219fa49;hb=201c9ad0b300530ef664356626a529aa4d73863c;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..6870e01 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h @@ -27,36 +27,47 @@ #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); - 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); + bool GetFixAxis2D(); + void SetFixAxis2D(bool value); + double GetOpacityAxis(); + void SetOpacityAxis(double value); protected: marImageData *_marImageData; double _z; int _t; - double _colorWindow; double _colorLevel; + bool _interpolate; + bool _fixAxis2D; + double _opacityAxis; + vtkObject* _observable; +private: + }; #endif /*VTKBASEDATA_H_*/